Really fix configure exit code test
Don't compare undefined variable with 0, this is not going to work.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user