mirror of
https://github.com/wassname/ray.git
synced 2026-07-13 17:45:08 +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
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