From 05eb9214c36c22579c1a66a167cd5fe05ec1582c Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 13 Mar 2012 14:18:36 +0100 Subject: [PATCH] Update VERSION scan --- docs/manuals/update_version.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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} -- 2.39.5