diff options
author | Gerald Carter <jerry@samba.org> | 2003-09-09 03:18:20 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-09-09 03:18:20 +0000 |
commit | 3cf6eaebd6c57974d33934bf9647b0ab9f50f88e (patch) | |
tree | 2fadaad0c5f22354650f4c64a07ab2c06aad0ec4 /packaging/bin/update-pkginfo | |
parent | 07643607a706464089bb4b5a8bd902742591b864 (diff) | |
download | samba-3cf6eaebd6c57974d33934bf9647b0ab9f50f88e.tar.gz samba-3cf6eaebd6c57974d33934bf9647b0ab9f50f88e.tar.bz2 samba-3cf6eaebd6c57974d33934bf9647b0ab9f50f88e.zip |
syncing packaging files from 3.0
(This used to be commit ccc2a0d3840f88625cf89d6739320728e830ef87)
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 + |