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

Hendrik Baecker andurin at process-zero.de
Wed May 13 23:05:39 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sorry for top-posting.

Patch applied well and is the first non-team-member commit in the
master. Congratulations ;)

https://git.icinga.org/index?p=icinga-core.git;a=summary

Thanks for also testing the small "HowTo send patches, the 'git-way'".
I'll add your notes and publish it into the wiki, but I will never ever
do a copy and paste with "[" and "]" to the tracker - it will eat them up ;(

- -
Hendrik

Bernd Arnold schrieb:
> 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkoLNiMACgkQlI0PwfxLQjkxpACfYlRahPCUk05VDsyn1zIwkYqQ
YQoAnRi0p5jsxBJi7Wzw6NBWjNdw+XUI
=7ff8
-----END PGP SIGNATURE-----




More information about the icinga-devel mailing list