diff options
Diffstat (limited to 'packaging/bin/update-pkginfo')
-rwxr-xr-x | packaging/bin/update-pkginfo | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/packaging/bin/update-pkginfo b/packaging/bin/update-pkginfo index 8432173cc8..47f3c3c306 100755 --- a/packaging/bin/update-pkginfo +++ b/packaging/bin/update-pkginfo @@ -8,13 +8,9 @@ if [ $# -ne 2 ]; then exit 1 fi -for f in */*/*.tmpl; do - f2=`echo $f | sed s/.tmpl//g` - echo $f2 - sed -e s/PVERSION/$VERSION/g -e s/PRELEASE/$RELEASE/g < $f > $f2 -done -for f in */*.tmpl; do - f2=`echo $f | sed s/.tmpl//g` - echo $f2 - sed -e s/PVERSION/$VERSION/g -e s/PRELEASE/$RELEASE/g < $f > $f2 +for f in `du -a | awk '{print $2}' | grep \.tmpl$`; do + f2=`echo $f | sed s/.tmpl//g` + echo $f2 + sed -e s/PVERSION/$VERSION/g -e s/PRELEASE/$RELEASE/g < $f > $f2 done + |