]> git.sur5r.net Git - bacula/docs/blob - docs/manuals/update_version
Tweak .gitignore
[bacula/docs] / docs / manuals / update_version
1 #!/bin/sh
2 #
3 # Script file to update the Bacula version
4 #
5 out=/tmp/$$
6 VERSION=`sed -n -e 's/^#define VERSION.*"\(.*\)"$/\1/p' /home/kern/bacula/k/bacula/src/version.h`
7 DATE=`sed -n -e 's/^#define BDATE.*"\(.*\)"$/\1/p' /home/kern/bacula/k/bacula/src/version.h`
8 . /home/kern/bacula/docs/docs/manuals/do_echo
9 sed -f ${out} /home/kern/bacula/docs/docs/manuals/version.tex.in >version.tex
10 rm -f ${out}