From: Kern Sibbald Date: Thu, 17 Jul 2014 13:30:43 +0000 (+0200) Subject: Print version/date when updating X-Git-Tag: Release-7.0.5~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2d0fa75bc3614f371374657c91b00145840f6399;p=bacula%2Fdocs Print version/date when updating --- diff --git a/docs/update_version b/docs/update_version index bda59d29..116df28f 100755 --- a/docs/update_version +++ b/docs/update_version @@ -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