repo.or.cz
/
jackdbus.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Restore dbus/audio_reserve.[hc]
[jackdbus.git]
/
man
/
fill_template
blob
42feee528e748d55b2ae2e276f96bbdb75c11141
1
#!/bin/sh
2
d
=
""
3
[
-z
"
$SOURCE_DATE_EPOCH
"
]
|| d
=
--date
=
@
$SOURCE_DATE_EPOCH
4
5
FILES
=
$
(
ls
*
.0
)
6
7
test -z
"
${FILES}
"
&&
exit
0
8
9
for
i
in
${FILES}
;
do
10
echo
"[SED]
${i}
"
11
sed
-e
"s/!VERSION!/
${1}/g" -e "s/!DATE!/`date $d '+%B %Y'`/g" < ${i} > ${i%%0}
1
12
done