aboutsummaryrefslogtreecommitdiff
path: root/R/create-docs.sh
diff options
context:
space:
mode:
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