projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf6e353
)
yaz-config -V shows version + SHA1 (Bug #2829)
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 13 May 2009 07:21:41 +0000
(09:21 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 13 May 2009 07:21:41 +0000
(09:21 +0200)
yaz-config.in
patch
|
blob
|
history
diff --git
a/yaz-config.in
b/yaz-config.in
index
117806a
..
e04767b
100644
(file)
--- 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