repo.or.cz
/
dowkd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add a ChangeLog to the compiled Perl script
[dowkd.git]
/
dowkd.compile
blob
ea3b635187dad991f68252417f39982c836d39a5
1
#! /bin/bash
2
3
set -e
4
5
rm
-f
dowkd.new || true
6
7
(
sed
-e
s
/
@PROGRAM_VERSION@
/
$
(
git describe
)/
\
8
-e
s
/
@DB_VERSION@
/
$
(
cat
dowkd.blacklist.md5
)/
\
9
<
dowkd.
in
| \
10
sed
-e
'/^@CHANGELOG@$/{
11
x
12
r ChangeLog
13
p
14
x
15
d
16
}'
17
cat
dowkd.blacklist
) >
dowkd.new
18
19
mv
dowkd.new dowkd