git.samba.org
/
samba.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added packing release script.
[samba.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