aboutsummaryrefslogtreecommitdiff
path: root/trunk/lib
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-07-09 17:49:42 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-07-09 17:49:42 +0000
commit034275b62a59a2eb1a71307e020a8de40479a255 (patch)
tree6e44f7b547e5b97444c7bb0cfc96965555e7afa4 /trunk/lib
parentc348beec0ccfbdf64e956747a36fe3553bd04c8b (diff)
downloadsimplepkg-034275b62a59a2eb1a71307e020a8de40479a255.tar.gz
simplepkg-034275b62a59a2eb1a71307e020a8de40479a255.tar.bz2
gen_filelist using new algorithm
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@399 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/lib')
-rw-r--r--trunk/lib/common.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh
index 2be3ec6..8d2bb2f 100644
--- a/trunk/lib/common.sh
+++ b/trunk/lib/common.sh
@@ -576,7 +576,8 @@ function gen_filelist {
# generate FILELIST.TXT
# usage: gen_filelist
- for file in `find | grep -e ".tgz$"`; do ls -l $file; done > FILELIST.TXT
+ 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"
}