From 9fdcce5bf33b647a635631f96f295394d729df7b Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 29 Dec 2008 16:53:09 +0100 Subject: [PATCH] Fixed test that makes VERSION_SHA1 appear on dist versions too. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4b26ec3..70fad35 100644 --- 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}'` -- 1.7.10.4