[Icinga-devel] [PATCH] Corrected filename when updating version info

Bernd Arnold bernd_a at gmx.de
Wed May 13 22:33:48 CEST 2009


Replaced nagios.c by icinga.c in base directory
---
 update-version |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/update-version b/update-version
index 0434623..14c4d9d 100755
--- a/update-version
+++ b/update-version
@@ -45,7 +45,7 @@ perl -i -p -e "s/VERSION \".*\"/VERSION \"$newversion\"/;" include/common.h
 perl -i -p -e "s/MODIFICATION_DATE \".*\"/MODIFICATION_DATE \"$SHORTDATE\"/;" include/common.h
 
 # Update version number and release date in main code
-perl -i -p -e "s/Version: .*/Version: $newversion/;" base/nagios.c
+perl -i -p -e "s/Version: .*/Version: $newversion/;" base/icinga.c
 perl -i -p -e "s/Last Modified:   [0-9].*/Last Modified:   $SHORTDATE/;" base/icinga.c
 perl -i -p -e "s/Version: [0-9].*/Version: $newversion/;" base/icingastats.c
 perl -i -p -e "s/Last Modified:   [0-9].*/Last Modified:   $SHORTDATE/;" base/icingastats.c
-- 
1.6.0.4





More information about the icinga-devel mailing list