This is how combination of domain logons and security parameter best combine.
[Samba/ekacnet.git] / packaging / bin / update-pkginfo
blob8432173cc8826bdbf0fd3a49323d7064ebf9aa1e
1 #!/bin/bash
3 VERSION=$1
4 RELEASE=$2
6 if [ $# -ne 2 ]; then
7 echo Usage: update-pkginfo VERSION RELEASE
8 exit 1
9 fi
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
16 for f in */*.tmpl; do
17 f2=`echo $f | sed s/.tmpl//g`
18 echo $f2
19 sed -e s/PVERSION/$VERSION/g -e s/PRELEASE/$RELEASE/g < $f > $f2
20 done