[Libosinfo] [PATCH] configure: fix non-portable shell test syntax

Daniel P. Berrangé berrange at redhat.com
Tue Apr 16 12:36:29 UTC 2019


Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
---

Pushed as a build fix for "make syntax-check"

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

diff --git a/configure.ac b/configure.ac
index 1f29468..f3139f2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,7 +32,7 @@ else
     HAVE_PYTEST="no"
     HAVE_REQUESTS="no"
 fi
-AM_CONDITIONAL([EXECUTE_TESTS], [test "x$HAVE_PYTEST" == "xyes" -a "x$HAVE_REQUESTS" = "xyes"])
+AM_CONDITIONAL([EXECUTE_TESTS], [test "x$HAVE_PYTEST" == "xyes" && "x$HAVE_REQUESTS" = "xyes"])
 
 LT_INIT([shared disable-static win32-dll])
 
-- 
2.20.1




More information about the Libosinfo mailing list