From a22b9b283d47380bfe668c66e68e779775364b7a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 22 Apr 2020 17:51:55 +0200 Subject: [PATCH] Really fix configure exit code test Don't compare undefined variable with 0, this is not going to work. --- build/tools/travis-ci.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/tools/travis-ci.sh b/build/tools/travis-ci.sh index f440f3ea3b..3401615226 100755 --- a/build/tools/travis-ci.sh +++ b/build/tools/travis-ci.sh @@ -55,7 +55,7 @@ case $wxTOOLSET in *) echo 'Configuring...' && echo -en 'travis_fold:start:script.configure\\r' ./configure --disable-optimise --disable-debug_info $wxCONFIGURE_FLAGS || rc=$? - if [ "$rc" != 0 ]; then + if [ -n $rc ]; then echo '*** Configuring failed, contents of config.log follows: ***' echo '-----------------------------------------------------------' cat config.log