aboutsummaryrefslogtreecommitdiff
path: root/R/install-dev.sh
diff options
context:
space:
mode:
authorShivaram Venkataraman <shivaram@cs.berkeley.edu>2015-06-03 17:02:16 -0700
committerShivaram Venkataraman <shivaram@cs.berkeley.edu>2015-06-03 17:02:16 -0700
commit0576c3c4ff9d9bbff208e915bee1ac0d4956548c (patch)
tree636319ffda87da9a081ce2cddf93e8f54b0ee051 /R/install-dev.sh
parent51898b5158ac7e7e67b0539bc062c9c16ce9a7ce (diff)
downloadspark-0576c3c4ff9d9bbff208e915bee1ac0d4956548c.tar.gz
spark-0576c3c4ff9d9bbff208e915bee1ac0d4956548c.tar.bz2
spark-0576c3c4ff9d9bbff208e915bee1ac0d4956548c.zip
[SPARK-8084] [SPARKR] Make SparkR scripts fail on error
cc shaneknapp pwendell JoshRosen Author: Shivaram Venkataraman <shivaram@cs.berkeley.edu> Closes #6623 from shivaram/SPARK-8084 and squashes the following commits: 0ec5b26 [Shivaram Venkataraman] Make SparkR scripts fail on error
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"