From d49c35395774631d6eb758ecdea8dbfd05ab2935 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Higor=20Eur=C3=ADpedes?= Date: Wed, 17 Jun 2015 14:31:20 -0300 Subject: [PATCH] (qb) Fix comparison operator --- qb/qb.comp.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qb/qb.comp.sh b/qb/qb.comp.sh index ce97fdf09c..fe97bdbedd 100644 --- a/qb/qb.comp.sh +++ b/qb/qb.comp.sh @@ -22,7 +22,7 @@ fi rm -f "$TEMP_C" "$TEMP_EXE" cc_status='does not work' -if [ "$cc_works" == '1' ]; then +if [ "$cc_works" = '1' ]; then cc_status='works' elif [ -z "$CC" ]; then cc_status='not found' @@ -30,7 +30,7 @@ fi echo "Checking for suitable working C compiler ... $CC $cc_status" -if [ "$cc_works" == '0' ] && [ "$USE_LANG_C" = 'yes' ]; then +if [ "$cc_works" = '0' ] && [ "$USE_LANG_C" = 'yes' ]; then echo "Error: Cannot proceed without a working C compiler." exit 1 fi