git.samba.org
/
ira
/
wip.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
fab56daebf880acac2d50c38e09034010f531c6c
[ira/wip.git]
/
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