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

Richard W.M. Jones rjones at redhat.com
Mon Sep 25 21:20:24 UTC 2017


On Mon, Sep 25, 2017 at 09:29:37PM +0200, Hilko Bengen wrote:
> ---
>  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])
>  ],[

I've pushed this, thanks.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list