summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-09-12 15:07:00 +0200
committerKarolin Seeger <kseeger@samba.org>2009-03-27 13:06:42 +0100
commit2319cdb46674ee2ad8132b4a290b219aac99742e (patch)
tree1e1743c92448325eee62e6e2be83f56709b29e68 /packaging
parent5514f59f561e38d0b233f1ffe62183dc81795d16 (diff)
downloadsamba-2319cdb46674ee2ad8132b4a290b219aac99742e.tar.gz
samba-2319cdb46674ee2ad8132b4a290b219aac99742e.tar.xz
samba-2319cdb46674ee2ad8132b4a290b219aac99742e.zip
packaging: use "find" instead of "du" to find files... :-)
Michael (This used to be commit 768aa82361a2c4b0aab71433b7593723a2868f0a) (cherry picked from commit fd7635a1161e25d88a8252a5cf9de70ca2fe4232) (cherry picked from commit bfa086eef3db925ae32d554dbb7edb0f53df35e2)
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 \