From c2ae9f1b47dfc1024abb2f430f4c632e7dd4893e Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Sun, 25 Jun 2017 20:31:40 +0500 Subject: [PATCH] harden build script when error occures, build script should fail as early as possible --- .travis-build-openssl.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis-build-openssl.sh b/.travis-build-openssl.sh index 639d05c..af90964 100755 --- a/.travis-build-openssl.sh +++ b/.travis-build-openssl.sh @@ -1,5 +1,6 @@ #!/bin/bash +set -e if [ ! -f download-cache/openssl-${OPENSSL_VERSION}.tar.gz ]; then wget -P download-cache/ https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz; fi