From: Kern Sibbald Date: Tue, 13 Mar 2012 13:18:36 +0000 (+0100) Subject: Update VERSION scan X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=05eb9214c36c22579c1a66a167cd5fe05ec1582c;p=bacula%2Fdocs Update VERSION scan --- diff --git a/docs/manuals/update_version.in b/docs/manuals/update_version.in index 00122801..38831b28 100644 --- a/docs/manuals/update_version.in +++ b/docs/manuals/update_version.in @@ -3,8 +3,8 @@ # Script file to update the Bacula version # out=/tmp/$$ -VERSION=`sed -n -e 's/^.*VERSION.*"\(.*\)"$/\1/p' @bacula@/src/version.h` -DATE=`sed -n -e 's/^.*[ \t]*BDATE.*"\(.*\)"$/\1/p' @bacula@/src/version.h` +VERSION=`sed -n -e 's/^#define VERSION.*"\(.*\)"$/\1/p' @bacula@/src/version.h` +DATE=`sed -n -e 's/^#define BDATE.*"\(.*\)"$/\1/p' @bacula@/src/version.h` . @BUILD_DIR@/manuals/do_echo sed -f ${out} @BUILD_DIR@/manuals/version.tex.in >version.tex rm -f ${out}