mirror of
https://github.com/libretro/RetroArch
synced 2025-02-20 15:40:44 +00:00
(qb) Fix comparison operator
This commit is contained in:
parent
421dfc4b7c
commit
d49c353957
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user