From d3bfd05c8ad9e4f9b6f58a9510778079eab446fc Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 13 May 2009 09:21:41 +0200 Subject: [PATCH] yaz-config -V shows version + SHA1 (Bug #2829) --- yaz-config.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/yaz-config.in b/yaz-config.in index 117806a..e04767b 100644 --- a/yaz-config.in +++ b/yaz-config.in @@ -18,6 +18,7 @@ ICU_CPPFLAGS="@ICU_CPPFLAGS@" SSL_LIBS="@SSL_LIBS@" LIBS="@LIBS@" YAZVERSION=@VERSION@ +VERSION_SHA1=@VERSION_SHA1@ usage() { @@ -50,6 +51,10 @@ while test $# -gt 0; do echo $yazprefix exit 0 ;; + -V) + echo "$YAZVERSION $VERSION_SHA1" + exit 0 + ;; --version) echo $YAZVERSION exit 0 -- 1.7.10.4