• Eli Schwartz's avatar
    makepkg: use builtin globbing to print files in package · b5191ea1
    Eli Schwartz authored and Allan McRae's avatar Allan McRae committed
    - it comes with free collation when moving the LC_ALL declaration up a bit;
      this fixes a bug where the .FILES were not being properly sorted and
      their order depended on directory creation order, which broke
      reproducible builds in the wild.
    - it handles sorting null-delimited output everywhere, without sort -z;
      this lets us get rid of sed hacks
    - it is faster than invoking multiple find subprocesses
    - dotfiles can be automatically printed *and the C locale sorts them first*
      with a single ** glob
    Signed-off-by: Eli Schwartz's avatarEli Schwartz <eschwartz@archlinux.org>
    Signed-off-by: Allan McRae's avatarAllan McRae <allan@archlinux.org>