Add "quick" host check command
[dowkd.git] / dowkd.compile
blob301b5a82ef9317ad90fca7b8296aaf8d332aa4eb
1 #! /bin/bash
3 set -e
5 sed -e s/@PROGRAM_VERSION@/$(git describe)/ \
6 -e s/@DB_VERSION@/$(cat dowkd.blacklist.md5)/ \
7 < dowkd.in | \
8 sed -e '/^@CHANGELOG@$/{
10 r ChangeLog
14 }' | gzip -9 > dowkd.new
15 cat dowkd.blacklist.gz >> dowkd.new
17 mv dowkd.new dowkd.pl.gz
18 zcat dowkd.pl.gz > dowkd