From 010f35f299c39d16d947849435d5007a51f8b561 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Thu, 1 Feb 2007 01:59:26 +0000 Subject: Move filelist creation ABOVE the other metafiles to keep them out of the list --- scripts/makepkg | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts') 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" -- cgit v1.2.3-24-g4f1b