summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-09-12 15:07:00 +0200
committerKarolin Seeger <kseeger@samba.org>2009-02-16 09:57:01 +0100
commit924153795acd96c2bba9b3bbc7e111179784466d (patch)
tree6ade487bd30692f70727be8d47ddd51d83b67ee2
parentb2d5e5fe008a5c116f752b523b14103571bcd147 (diff)
downloadsamba-924153795acd96c2bba9b3bbc7e111179784466d.tar.gz
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 0f7ced3088f327417e32a509fa3e5b4c3c19b93c)
-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 \