Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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...")"