summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-09-12 15:07:00 +0200
committerMichael Adam <obnox@samba.org>2009-02-11 00:27:50 +0100
commitbfa086eef3db925ae32d554dbb7edb0f53df35e2 (patch)
tree6ec9a9310cdf5770d66fd45731d5644cbf50c988 /packaging
parent26e6ca1b3e7378d11ad4d6cb17b9f79244fa59b6 (diff)
downloadsamba-bfa086eef3db925ae32d554dbb7edb0f53df35e2.tar.gz
samba-bfa086eef3db925ae32d554dbb7edb0f53df35e2.tar.xz
samba-bfa086eef3db925ae32d554dbb7edb0f53df35e2.zip
packaging: use "find" instead of "du" to find files... :-)
Michael (This used to be commit 768aa82361a2c4b0aab71433b7593723a2868f0a) (cherry picked from commit fd7635a1161e25d88a8252a5cf9de70ca2fe4232)
Diffstat (limited to 'packaging')
-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 6ff6312ebd8..ed34db0bb3d 100755
--- a/packaging/bin/update-pkginfo
+++ b/packaging/bin/update-pkginfo
@@ -15,7 +15,7 @@ if [ $# -ne 3 ]; then
exit 1
fi
-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 \