summaryrefslogtreecommitdiff
path: root/packaging/bin
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-09-12 15:07:00 +0200
committerMichael Adam <obnox@samba.org>2008-09-12 15:07:00 +0200
commitfd7635a1161e25d88a8252a5cf9de70ca2fe4232 (patch)
tree048138cbf0647747167623f7c64460fa87878e37 /packaging/bin
parentcf3d089afa55c3b3b21b2c48aa9941d1d2f3c043 (diff)
downloadsamba-fd7635a1161e25d88a8252a5cf9de70ca2fe4232.tar.gz
packaging: use "find" instead of "du" to find files... :-)
Michael (This used to be commit 768aa82361a2c4b0aab71433b7593723a2868f0a)
Diffstat (limited to 'packaging/bin')
-rwxr-xr-xpackaging/bin/update-pkginfo2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/bin/update-pkginfo b/packaging/bin/update-pkginfo
index 020c773da08..9d8006aa581 100755
--- a/packaging/bin/update-pkginfo
+++ b/packaging/bin/update-pkginfo
@@ -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 \