commit 5ea930e25fc5d12a9590e3544baa1dc8cf48eaba
parent 45defd25f30698ffc7117aaea9684296baecc94e
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Tue, 2 Feb 2021 11:51:22 +0100
build: detect a build from git also when building out of tree
Reported-by: Hans-Bernhard Bröker <HBBroeker@t-online.de>
Bug existed since version 2.6.0, commit ec295f5e.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
@@ -59,7 +59,7 @@ AC_DEFINE_DIR([PKGDATADIR], [pkgdatadir], [Where data are placed to.])
dnl Whether this is a git repository.
AC_MSG_CHECKING([whether building from git])
-if test -f roll-a-release.sh ; then
+if test -f "$srcdir/roll-a-release.sh" ; then
AC_MSG_RESULT([yes])
from_git=yes
else