1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/packaging/bin/update-pkginfo
0001-01-01 00:00:00 +00:00

16 lines
306 B
Bash
Executable File

#!/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