From: nagiosplugins Date: Fri, 25 Sep 2009 08:18:04 +0000 (+0000) Subject: Allow custom versions with the release file... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=43c187a9444ddfdac26fb5c2e2f21dd38c72ce8d;p=nagiosplug.git Allow custom versions with the release file... --- diff --git a/configure.in b/configure.in index 505af93..5cc693c 100644 --- a/configure.in +++ b/configure.in @@ -101,6 +101,14 @@ AC_SUBST(REV_TIMESTAMP) dnl Check if version file is present AM_CONDITIONAL([RELEASE_PRESENT], [test -f release]) +# Also read in the version from it +if test -f release; then + NP_RELEASE="$(