mirror of
https://github.com/wassname/ray.git
synced 2026-06-30 05:57:18 +08:00
Causes build scripts to fail immediately if a single command fails. (#23)
This commit is contained in:
committed by
Philipp Moritz
parent
681ec570ba
commit
5dfd76e0f7
@@ -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
|
||||
|
||||
Vendored
+5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user