Hilko Bengen
2017-Sep-25 19:29 UTC
[Libguestfs] [PATCH] Fix determining release date for builddir != srcdir
--- 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
Richard W.M. Jones
2017-Sep-25 21:20 UTC
Re: [Libguestfs] [PATCH] Fix determining release date for builddir != srcdir
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/
Apparently Analagous Threads
- [PATCH 1/2] valgrind: Use --trace-children=no --child-silent-after-fork=yes
- [PATCH 1/2] configure: visually split the blocks of checks
- update_attributes updates data from second instance of nested form but not the first
- [PATCH 0/7] Small portability changes
- newbie - HABTM problems writing to Join Table in SQL