From 034275b62a59a2eb1a71307e020a8de40479a255 Mon Sep 17 00:00:00 2001 From: rhatto Date: Mon, 9 Jul 2007 17:49:42 +0000 Subject: gen_filelist using new algorithm git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@399 04377dda-e619-0410-9926-eae83683ac58 --- trunk/lib/common.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" } -- cgit v1.2.3