Causes build scripts to fail immediately if a single command fails. (#23)

This commit is contained in:
Robert Nishihara
2016-11-02 20:56:25 -07:00
committed by Philipp Moritz
parent 681ec570ba
commit 5dfd76e0f7
2 changed files with 8 additions and 0 deletions
+3
View File
@@ -1,5 +1,8 @@
#!/usr/bin/env bash
# Cause the script to exit if a single command fails.
set -e
ROOT_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd)
# Determine how many parallel jobs to use for make based on the number of cores
+5
View File
@@ -1,3 +1,8 @@
#!/usr/bin/env bash
# Cause the script to exit if a single command fails.
set -e
if [ ! -f redis-3.2.3/src/redis-server ]; then
wget http://download.redis.io/releases/redis-3.2.3.tar.gz
tar xvfz redis-3.2.3.tar.gz