From: Jim Meyering Date: Thu, 30 Jul 2009 08:50:49 +0000 (+0200) Subject: build: fix test for --nocompress option X-Git-Tag: 1.0.66~55 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=8aa10e0bd024eed36f15a7e1fbe889e374425e09;p=libguestfs.git build: fix test for --nocompress option Richard W.M. Jones wrote: > On Wed, Jul 29, 2009 at 10:50:44PM +0200, Jim Meyering wrote: >> The test for febootstrap-to-initramfs' --nocompress option >> was always failing for me on F11. Here's why: > [...] > > Ouch that's obscure. I've applied this patch and the previous > one you sent too. Thanks! Our messages crossed. Rebasing my fixed patch and adjusting the log: >From 9e7846da50ceeee57187f703835bd3975e789719 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 29 Jul 2009 16:33:02 -0400 Subject: [PATCH] build: quote the other option test similarly * configure.ac: Quote properly. --- 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.