]> git.sur5r.net Git - bacula/docs/commitdiff
Print version/date when updating
authorKern Sibbald <kern@sibbald.com>
Thu, 17 Jul 2014 13:30:43 +0000 (15:30 +0200)
committerKern Sibbald <kern@sibbald.com>
Thu, 17 Jul 2014 13:30:43 +0000 (15:30 +0200)
docs/update_version

index bda59d29c521a5f5e0327248cff7c14f5eb18fc8..116df28f53895b1f057c65ec3c9834cf2f2d5a5e 100755 (executable)
@@ -13,6 +13,7 @@ BACULA_SOURCE=$HOME/bee/bacula/bacula/src
 out=/tmp/$$
 VERSION=`sed -n -e 's/^#define VERSION.*"\(.*\)"$/\1/p' ${BACULA_SOURCE}/version.h`
 DATE=`sed -n -e 's/^#define BDATE.*"\(.*\)"$/\1/p' ${BACULA_SOURCE}/version.h`
+echo "New version=${VERSION}  New date=${DATE}"
 echo "s%@VERSION@%${VERSION}%g" >${out}
 echo "s%@DATE@%${DATE}%g" >>${out}
 sed -f ${out} manuals/version.tex.in >manuals/version.tex