]> git.sur5r.net Git - bacula/docs/blobdiff - docs/manuals/update_version.in
Tweak winbin.php page
[bacula/docs] / docs / manuals / update_version.in
index 00122801ed46b503e9550c55d41fa2c040b84dcf..38831b288133a58be5745a2586ee73ead0d5dbdd 100644 (file)
@@ -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}