summaryrefslogtreecommitdiff
path: root/packaging/bin/update-pkginfo
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/update-pkginfo
parentcf3d089afa55c3b3b21b2c48aa9941d1d2f3c043 (diff)
downloadsamba-fd7635a1161e25d88a8252a5cf9de70ca2fe4232.tar.gz
samba-fd7635a1161e25d88a8252a5cf9de70ca2fe4232.tar.bz2
samba-fd7635a1161e25d88a8252a5cf9de70ca2fe4232.zip
packaging: use "find" instead of "du" to find files... :-)
Michael (This used to be commit 768aa82361a2c4b0aab71433b7593723a2868f0a)
Diffstat (limited to 'packaging/bin/update-pkginfo')
-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 020c773da0..9d8006aa58 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 \