diff -urpN pacman-lib.orig/scripts/makepkg pacman-lib/scripts/makepkg --- pacman-lib.orig/scripts/makepkg 2007-04-18 08:50:00.000000000 +0300 +++ pacman-lib/scripts/makepkg 2007-04-18 23:26:07.000000000 +0300 @@ -995,7 +995,7 @@ size=$(du -cb "$startdir/pkg" | tail -n # 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 +find * 2>/dev/null | sort >.FILELIST # write the .PKGINFO file msg "Generating .PKGINFO file..." @@ -1065,7 +1065,7 @@ pkg_file="$PKGDEST/$pkgname-$pkgver-$pkg comp_files=".PKGINFO .FILELIST ${install:+.INSTALL}" [ $have_changelog -eq 1 ] && comp_files=".CHANGELOG $comp_files" -if ! tar czf $pkg_file $comp_files *; then +if ! tar czf $pkg_file $comp_files $(ls); then error "Failed to create package file." exit 1 fi