summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>1998-11-13 23:10:32 +0000
committerJohn Terpstra <jht@samba.org>1998-11-13 23:10:32 +0000
commitddc6296370310298f428e38468b2d94288bc078f (patch)
treeffd0c300647d38dd5788c6256be69fcde7b74333
parent4758c5f03c43b7eba96d7f7fa578047c743ef5dc (diff)
downloadsamba-ddc6296370310298f428e38468b2d94288bc078f.tar.gz
samba-ddc6296370310298f428e38468b2d94288bc078f.tar.bz2
samba-ddc6296370310298f428e38468b2d94288bc078f.zip
Added packing release script.
(This used to be commit a77d40ee7147207174cde4c7a0f775e588e5a6ba)
-rwxr-xr-xpackaging/bin/update-pkginfo15
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