#!/bin/sh
#
# Script file to update the Bacula version
#
out=/tmp/$$
VERSION=`sed -n -e 's/^.*VERSION.*"\(.*\)"$/\1/p' /home/kern/bacula/Release-3.0.2/bacula-3.0.2/src/version.h`
DATE=`sed -n -e 's/^.*[ \t]*BDATE.*"\(.*\)"$/\1/p' /home/kern/bacula/Release-3.0.2/bacula-3.0.2/src/version.h`
. ./do_echo
sed -f ${out} /home/kern/bacula/bacula-docs-3.0.2/manuals/version.tex.in >version.tex
rm -f ${out}
