summaryrefslogtreecommitdiff
path: root/packaging/bin/update-pkginfo
blob: fab56daebf880acac2d50c38e09034010f531c6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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