aboutsummaryrefslogtreecommitdiff
path: root/R/create-docs.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/create-docs.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/create-docs.sh')
-rwxr-xr-xR/create-docs.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/R/create-docs.sh b/R/create-docs.sh
index 4194172a2e..af47c0863b 100755
--- a/R/create-docs.sh
+++ b/R/create-docs.sh
@@ -23,6 +23,9 @@
# After running this script the html docs can be found in
# $SPARK_HOME/R/pkg/html
+set -o pipefail
+set -e
+
# Figure out where the script is
export FWDIR="$(cd "`dirname "$0"`"; pwd)"
pushd $FWDIR