[Libguestfs] [PATCH] Fix determining release date for builddir != srcdir

Hilko Bengen bengen at hilluzination.de
Mon Sep 25 19:29:37 UTC 2017


---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 188bed76f..1ab54500d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -94,7 +94,7 @@ dnl Find the release date for this version.  This is used in
 dnl the website 'index.html' file.  We have to do this after
 dnl testing for awk in guestfs_progs.m4 above.
 AC_MSG_CHECKING([for the release date of $PACKAGE_VERSION])
-RELEASE_DATE="$(grep ^$PACKAGE_VERSION@<:@@<:@:space:@:>@@:>@ RELEASES | $AWK '{print $2}')"
+RELEASE_DATE="$(grep ^$PACKAGE_VERSION@<:@@<:@:space:@:>@@:>@ ${srcdir}/RELEASES | $AWK '{print $2}')"
 AS_IF([test "x$RELEASE_DATE" != "x"],[
     AC_MSG_RESULT([$RELEASE_DATE])
 ],[
-- 
2.14.1




More information about the Libguestfs mailing list