packaging: use "find" instead of "du" to find files... :-)
authorMichael Adam <obnox@samba.org>
Fri, 12 Sep 2008 13:07:00 +0000 (15:07 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 12 Sep 2008 13:07:00 +0000 (15:07 +0200)
Michael
(This used to be commit 768aa82361a2c4b0aab71433b7593723a2868f0a)

packaging/bin/update-pkginfo

index 020c773da08a80e4a439e986b0d5a978cb5e2635..9d8006aa581ba5686ef8960693a045a032817074 100755 (executable)
@@ -17,7 +17,7 @@ fi
 # PREV=`echo ${REVISION} | sed 's/[^0-9]//g'`
 # PREV="."`echo ${REVISION} | sed 's/[0-9]//g'`".${PREV}"
 
-for f in `du -a | awk '{print $2}' | grep \.tmpl$`; do
+for f in `find . -type f -name "*.tmpl"`; do
         f2=`echo $f | sed s/.tmpl//g`
         echo $f2
         sed -e s/PVERSION/$VERSION/g \