summaryrefslogtreecommitdiffstats
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
commita77d40ee7147207174cde4c7a0f775e588e5a6ba (patch)
treed9c0815d3d796681200a28b4d8d098d406798395
parent566e92027f0c7d61a7de7a25ed9469ca801846a8 (diff)
downloadsamba-a77d40ee7147207174cde4c7a0f775e588e5a6ba.tar.gz
samba-a77d40ee7147207174cde4c7a0f775e588e5a6ba.tar.xz
samba-a77d40ee7147207174cde4c7a0f775e588e5a6ba.zip
Added packing release script.
-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 00000000000..fab56daebf8
--- /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