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:
22dca6e
)
Fixed test that makes VERSION_SHA1 appear on dist versions too.
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 29 Dec 2008 15:53:09 +0000
(16:53 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 29 Dec 2008 15:53:09 +0000
(16:53 +0100)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
4b26ec3
..
70fad35
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-396,7
+396,7
@@
WIN_FILEVERSION=`echo $PACKAGE_VERSION | $AWK 'BEGIN { FS = "."; } { m = $4; pri
AC_SUBST([WIN_FILEVERSION])
YAZ_VERSION_HEX=`echo $PACKAGE_VERSION | $AWK 'BEGIN { FS = "."; } { printf("%x", ($1 * 256 + $2) * 256 + $3);}'`
AC_SUBST([YAZ_VERSION_HEX])
-if test ${srcdir}/.git; then
+if test -d ${srcdir}/.git; then
VERSION_SHA1=`git show --pretty=format:%H|head -1`
else
VERSION_SHA1=`head -1 ${srcdir}/ChangeLog|awk '{print $2}'`