[osinfo-db-tools PATCH] configure: Use "==" in tests instead of "="

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

 



Altough there's no issue on using "=" with the test, let's standardize
on a single way to compare values, using "==".

With that in mind, let's change "xHAVE_REQUESTS" = "xyes" to
"xHAVE_REQUESTS" == "xyes" instead.

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

diff --git a/configure.ac b/configure.ac
index f3139f2..d6fa38f 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" && "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.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