repo.or.cz
/
Samba
/
gebeck_regimport.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove Japanese swat image files.
[Samba/gebeck_regimport.git]
/
packaging
/
bin
/
update-pkginfo
blob
47f3c3c306b187923e20af80af664f8a97251c17
1
#!/bin/bash
2
3
VERSION
=
$1
4
RELEASE
=
$2
5
6
if
[
$#
-ne
2
];
then
7
echo
Usage
:
update-pkginfo VERSION RELEASE
8
exit
1
9
fi
10
11
for
f
in
`du -a | awk '{print
$2
}' | grep \.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