diff options
author | Michael Adam <obnox@samba.org> | 2008-09-12 15:07:00 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-09-12 15:07:00 +0200 |
commit | fd7635a1161e25d88a8252a5cf9de70ca2fe4232 (patch) | |
tree | 048138cbf0647747167623f7c64460fa87878e37 /packaging/bin | |
parent | cf3d089afa55c3b3b21b2c48aa9941d1d2f3c043 (diff) | |
download | samba-fd7635a1161e25d88a8252a5cf9de70ca2fe4232.tar.gz |
packaging: use "find" instead of "du" to find files... :-)
Michael
(This used to be commit 768aa82361a2c4b0aab71433b7593723a2868f0a)
Diffstat (limited to 'packaging/bin')
-rwxr-xr-x | packaging/bin/update-pkginfo | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/bin/update-pkginfo b/packaging/bin/update-pkginfo index 020c773da08..9d8006aa581 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 \ |