Really fix configure exit code test

Don't compare undefined variable with 0, this is not going to work.
This commit is contained in:
Vadim Zeitlin
2020-04-22 17:51:55 +02:00
parent 3fc119f564
commit a22b9b283d

View File

@@ -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