summaryrefslogtreecommitdiffstats
path: root/scripts/makepkg.in
diff options
context:
space:
mode:
authorChantry Xavier <chantry.xavier@gmail.com>2007-06-22 23:09:55 +0200
committerDan McGee <dan@archlinux.org>2007-06-28 02:35:09 +0200
commit269022ccae921ae7f7caa1aca4a7d40cb0773985 (patch)
tree1be1d2832593781379084209bb752ab36b0d38d1 /scripts/makepkg.in
parent24c41f5190974e68444466d0d8563dbe9ab06768 (diff)
downloadpacman-269022ccae921ae7f7caa1aca4a7d40cb0773985.tar.gz
pacman-269022ccae921ae7f7caa1aca4a7d40cb0773985.tar.xz
scripts/makepkg.in: Fix creation of .FILELIST
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Diffstat (limited to 'scripts/makepkg.in')
-rw-r--r--scripts/makepkg.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/makepkg.in b/scripts/makepkg.in
index f7f320fa..2cc43b18 100644
--- a/scripts/makepkg.in
+++ b/scripts/makepkg.in
@@ -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...")"