harden build script

when error occures, build script should fail as early as possible
pull/176/head
Ilya Shipitsin 2017-06-25 20:31:40 +05:00
parent b4f03a1932
commit c2ae9f1b47
1 changed files with 1 additions and 0 deletions

View File

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