scripts/makepkg.in: Fix creation of .FILELIST

Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
This commit is contained in:
Chantry Xavier 2007-06-22 22:09:55 +01:00 committed by Dan McGee
parent 24c41f5190
commit 269022ccae
1 changed files with 2 additions and 1 deletions

View File

@ -738,7 +738,8 @@ create_package() {
# build a filelist - do this first to keep meta files out of the list
msg2 "$(gettext "Generating .FILELIST file...")"
find * 2>/dev/null | sort >.FILELIST
find -mindepth 1 \( -type d -printf '%P/\n' \) , \( ! -type d -printf '%P\n' \) \
2>/dev/null | sort >.FILELIST
# write the .PKGINFO file
msg2 "$(gettext "Generating .PKGINFO file...")"