[Libguestfs] [PATCH] build: fix test for --nocompress option

Richard W.M. Jones rjones at redhat.com
Thu Jul 30 09:01:24 UTC 2009


On Thu, Jul 30, 2009 at 10:50:49AM +0200, Jim Meyering wrote:
> diff --git a/configure.ac b/configure.ac
> index 6bdf7d4..20edc70 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -248,7 +248,7 @@ if test "x$enable_supermin" = "xyes"; then
>      AC_MSG_CHECKING([for --files support in $FEBOOTSTRAP_TO_INITRAMFS])
>      out=`$FEBOOTSTRAP_TO_INITRAMFS 2>&1 ||:`
>      echo "febootstrap_to_initramfs test command output: $out" >&AS_MESSAGE_LOG_FD
> -    if ! echo $out | grep -sq -- "--files" ; then
> +    if ! echo "$out" | grep -sq -e --files ; then
>          AC_MSG_RESULT([no])
>  	AC_MSG_FAILURE(
>  [febootstrap-to-initramfs does not support the --files option.
> --
> 1.6.3.3

Pushed this one too!

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v




More information about the Libguestfs mailing list