summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/makepkg10
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"