[pacman-dev] CVS update of pacman-lib/scripts (makepkg)

Aaron Griffin aaron at archlinux.org
Wed Jan 31 20:59:26 EST 2007


    Date: Wednesday, January 31, 2007 @ 20:59:26
  Author: aaron
    Path: /home/cvs-pacman/pacman-lib/scripts

Modified: makepkg (1.36 -> 1.37)

Move filelist creation ABOVE the other metafiles to keep them out of the list


---------+
 makepkg |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)


Index: pacman-lib/scripts/makepkg
diff -u pacman-lib/scripts/makepkg:1.36 pacman-lib/scripts/makepkg:1.37
--- pacman-lib/scripts/makepkg:1.36	Wed Jan 31 20:18:22 2007
+++ pacman-lib/scripts/makepkg	Wed Jan 31 20:59:26 2007
@@ -861,6 +861,11 @@
 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 @@
 	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"




More information about the pacman-dev mailing list