From 269022ccae921ae7f7caa1aca4a7d40cb0773985 Mon Sep 17 00:00:00 2001 From: Chantry Xavier Date: Fri, 22 Jun 2007 22:09:55 +0100 Subject: scripts/makepkg.in: Fix creation of .FILELIST Signed-off-by: Andrew Fyfe --- scripts/makepkg.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') 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...")" -- cgit v1.2.3-70-g09d2