diff options
author | John Terpstra <jht@samba.org> | 1998-11-13 23:10:32 +0000 |
---|---|---|
committer | John Terpstra <jht@samba.org> | 1998-11-13 23:10:32 +0000 |
commit | ddc6296370310298f428e38468b2d94288bc078f (patch) | |
tree | ffd0c300647d38dd5788c6256be69fcde7b74333 /packaging/bin/update-pkginfo | |
parent | 4758c5f03c43b7eba96d7f7fa578047c743ef5dc (diff) | |
download | samba-ddc6296370310298f428e38468b2d94288bc078f.tar.gz samba-ddc6296370310298f428e38468b2d94288bc078f.tar.bz2 samba-ddc6296370310298f428e38468b2d94288bc078f.zip |
Added packing release script.
(This used to be commit a77d40ee7147207174cde4c7a0f775e588e5a6ba)
Diffstat (limited to 'packaging/bin/update-pkginfo')
-rwxr-xr-x | packaging/bin/update-pkginfo | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/packaging/bin/update-pkginfo b/packaging/bin/update-pkginfo new file mode 100755 index 0000000000..fab56daebf --- /dev/null +++ b/packaging/bin/update-pkginfo @@ -0,0 +1,15 @@ +#!/bin/bash + +VERSION=$1 +RELEASE=$2 + +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 +done |