From 8fc7449b42ff291424e337e86af8924ceae24e57 Mon Sep 17 00:00:00 2001 From: rhatto Date: Tue, 24 Jul 2007 01:06:32 +0000 Subject: small fixes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@405 04377dda-e619-0410-9926-eae83683ac58 --- trunk/lib/common.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'trunk/lib/common.sh') diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh index 6ebd38a..f83e761 100644 --- a/trunk/lib/common.sh +++ b/trunk/lib/common.sh @@ -585,8 +585,7 @@ function set_jail_perms { function svn_add_meta { - find *meta -exec svn add {} 2> /dev/null \; - find . -name *meta -exec svn add {} 2> /dev/null \; + find . -name '*meta' -exec svn add {} 2> /dev/null \; } @@ -594,7 +593,7 @@ function gen_filelist { # generate FILELIST.TXT # usage: gen_filelist - find . -type f -name *.tgz -follow -print | sort | tr '\n' '\0' | \ + find . -type f -name '*.tgz' -follow -print | sort | tr '\n' '\0' | \ xargs -0r ls -ldL --time-style=long-iso > FILELIST.TXT echo "Created new FILELIST.TXT" @@ -609,7 +608,8 @@ function gen_patches_filelist { cwd="`pwd`" cd $1 - for file in `find | grep -e ".tgz$"`; do ls -l $file; done > FILE_LIST + find . -type f -name '*.tgz' -follow -print | sort | tr '\n' '\0' | \ + xargs -0r ls -ldL --time-style=long-iso > FILE_LIST cd $cwd if [ "$1" == "." ]; then -- cgit v1.2.3