From 924153795acd96c2bba9b3bbc7e111179784466d Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 12 Sep 2008 15:07:00 +0200 Subject: [PATCH] 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) --- packaging/bin/update-pkginfo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \ -- 2.11.4.GIT