Added packing release script.
authorJohn Terpstra <jht@samba.org>
Fri, 13 Nov 1998 23:10:32 +0000 (23:10 +0000)
committerJohn Terpstra <jht@samba.org>
Fri, 13 Nov 1998 23:10:32 +0000 (23:10 +0000)
(This used to be commit a77d40ee7147207174cde4c7a0f775e588e5a6ba)

packaging/bin/update-pkginfo [new file with mode: 0755]

diff --git a/packaging/bin/update-pkginfo b/packaging/bin/update-pkginfo
new file mode 100755 (executable)
index 0000000..fab56da
--- /dev/null
@@ -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