diff --git a/.travis-deploy.sh b/.travis-deploy.sh index d46bd6a..efe1d5f 100644 --- a/.travis-deploy.sh +++ b/.travis-deploy.sh @@ -46,7 +46,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # Ignore the cron builds. - if [ $TRAVIS_EVENT_TYPE -eq "cron" ]; exit 0; fi + [ $TRAVIS_EVENT_TYPE = "cron" ] && exit 0 [ "x${DEBUG}" = "xy" ] && TARGET=debug if [ "x${DEV_BUILD}" = "xy" ]; then