index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2007-02-01 01:59:26 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-02-01 01:59:26 +0000 |
commit | 010f35f299c39d16d947849435d5007a51f8b561 (patch) | |
tree | 4e9e61550b4f580b0322a1a10192b737fe6b5fd5 /scripts/makepkg | |
parent | 4cd65c0a31a199e1ee7ce119e4619b230b03645e (diff) |
-rwxr-xr-x | scripts/makepkg | 10 |
diff --git a/scripts/makepkg b/scripts/makepkg index 47be63ac..f755e8c9 100755 --- a/scripts/makepkg +++ b/scripts/makepkg @@ -861,6 +861,11 @@ else fi size=$(du -cb $startdir/pkg | tail -n 1 | awk '{print $1}') +# build a filelist - do this first to keep meta files out of the list +msg "Generating .FILELIST file..." +cd "$startdir/pkg" +tar cvf /dev/null * | sort >.FILELIST + # write the .PKGINFO file msg "Generating .PKGINFO file..." cd $startdir/pkg @@ -914,11 +919,6 @@ if [ -f "$startdir/ChangeLog" ]; then have_changelog=1 fi -# build a filelist -msg "Generating .FILELIST file..." -cd "$startdir/pkg" -tar cvf /dev/null * | sort >.FILELIST - # tar it up msg "Compressing package..." cd "$startdir/pkg" |