[osinfo-db-tools PATCH v2 2/2] configure: Use "=" for `test` instead of "=="

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



`man test` only lists "=" instead of "==".

With that in mind, let's change how we compare the strings to always use
a single "=" sign.

Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx>
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 25a1a27..3f63cdf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,7 +13,7 @@ AC_PATH_PROG([PERL], [perl])
 
 # python3, python3-pytest and python3-requests are needed for our tests
 AC_CHECK_PROG(HAVE_PYTHON3, python3, yes, no)
-if test "x$HAVE_PYTHON3" == "xyes";
+if test "x$HAVE_PYTHON3" = "xyes";
 then
     PYTHON="python3"
 
@@ -32,7 +32,7 @@ else
     HAVE_PYTEST="no"
     HAVE_REQUESTS="no"
 fi
-AM_CONDITIONAL([EXECUTE_TESTS], [test "x$HAVE_PYTEST" == "xyes" && test "x$HAVE_REQUESTS" = "xyes"])
+AM_CONDITIONAL([EXECUTE_TESTS], [test "x$HAVE_PYTEST" = "xyes" && test "x$HAVE_REQUESTS" = "xyes"])
 
 LT_INIT([shared disable-static win32-dll])
 
-- 
2.21.0

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux