From 2d0fa75bc3614f371374657c91b00145840f6399 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 17 Jul 2014 15:30:43 +0200 Subject: [PATCH] Print version/date when updating --- docs/update_version | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5