diff options
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) |
Move filelist creation ABOVE the other metafiles to keep them out of the list
Diffstat (limited to 'scripts/makepkg')
-rwxr-xr-x | scripts/makepkg | 10 |
1 files changed, 5 insertions, 5 deletions
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" |