diff options
-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 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 |