aboutsummaryrefslogtreecommitdiff
path: root/R/install-dev.sh
diff options
context:
space:
mode:
Diffstat (limited to 'R/install-dev.sh')
-rwxr-xr-xR/install-dev.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/R/install-dev.sh b/R/install-dev.sh
index 55ed6f4be1..b9e2527035 100755
--- a/R/install-dev.sh
+++ b/R/install-dev.sh
@@ -26,6 +26,8 @@
# NOTE(shivaram): Right now we use $SPARK_HOME/R/lib to be the installation directory
# to load the SparkR package on the worker nodes.
+set -o pipefail
+set -e
FWDIR="$(cd `dirname $0`; pwd)"
LIB_DIR="$FWDIR/lib"