index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Eli Schwartz <eschwartz@archlinux.org> | 2018-08-21 10:15:12 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-10-21 20:09:04 +1000 |
commit | b5191ea140386dd9b73e4509ffa9a6d347c1b5fa (patch) | |
tree | c4efbb1e4b211feb0bfb21a939e68184cb3544d4 /scripts/makepkg.sh.in | |
parent | e12d03217430500be269392463876440210f7916 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 7 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 25a8fc26..33f5deb4 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -708,8 +708,11 @@ write_buildinfo() { # database files are placed at the beginning of the package regardless of # sorting list_package_files() { - (find . -path './.*' \! -name '.'; find . \! -path './.*' \! -name '.' | LC_ALL=C sort) | - sed -e 's|^\./||' | tr '\n' '\0' + ( + export LC_COLLATE=C + shopt -s dotglob globstar + printf '%s\0' ** + ) } create_package() { |