From 6d6d020a36dc89067b47d20e5ea87298f2ef74e1 Mon Sep 17 00:00:00 2001 From: waltje Date: Thu, 26 Apr 2018 19:12:38 -0400 Subject: [PATCH] Erm, re-fixed the fix for a fix in the build script. Need more fixing? We can do that! --- .travis-build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis-build.sh b/.travis-build.sh index ef718b5..b4acac1 100644 --- a/.travis-build.sh +++ b/.travis-build.sh @@ -9,7 +9,7 @@ # # Build script for the Travis CI remote builder service. # -# Version: @(#).travis-build.sh 1.0.3 2018/04/25 +# Version: @(#).travis-build.sh 1.0.4 2018/04/26 # # Author: Fred N. van Kempen, # @@ -62,7 +62,7 @@ # Build the project. make -f win/mingw/Makefile.MinGW BUILD=${TRAVIS_BUILD_NUMBER} - if [ $? = 1 ]; then + if [ $? != 0 ]; then echo "Build failed, not uploading." exit 1 @@ -71,7 +71,7 @@ echo "Build #${TRAVIS_BUILD_NUMBER} OK, packing up." zip -9 ../${TARGET}.zip *.exe - if [ $? = 1 ]; then + if [ $? != 0 ]; then echo "ZIP failed, not uploading." exit 1