Added packing release script.
[ira/wip.git] / packaging / bin / update-pkginfo
1 #!/bin/bash
2
3 VERSION=$1
4 RELEASE=$2
5
6 for f in */*/*.tmpl; do
7         f2=`echo $f | sed s/.tmpl//g`
8         echo $f2
9         sed -e s/PVERSION/$VERSION/g -e s/PRELEASE/$RELEASE/g < $f > $f2
10 done
11 for f in */*.tmpl; do
12         f2=`echo $f | sed s/.tmpl//g`
13         echo $f2
14         sed -e s/PVERSION/$VERSION/g -e s/PRELEASE/$RELEASE/g < $f > $f2
15 done