commit | f5d936321770bfd397aa017bc1cbdbc409305e6f | [log] [tgz] |
---|---|---|
author | Brian O'Connor <bocon@onlab.us> | Fri Sep 04 20:18:31 2015 -0700 |
committer | Brian O'Connor <bocon@onlab.us> | Fri Sep 04 20:18:31 2015 -0700 |
tree | 3ec8c76c98d8598d74d7fb5f6d8253c80f54adcf | |
parent | d0ab3c02ef12ff57f3de1f95e74d5303a3a0cc47 [diff] [blame] |
Adding set -e to build commands Change-Id: I72d02db1f6f8484f4ffb2d00406e6af2c866a7fb
diff --git a/tools/build/onos-build-docs b/tools/build/onos-build-docs index 10feacc..93a73c1 100755 --- a/tools/build/onos-build-docs +++ b/tools/build/onos-build-docs
@@ -3,6 +3,8 @@ # Builds the ONOS Java API docs. # ----------------------------------------------------------------------------- +set -e + [ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1 . $ONOS_ROOT/tools/build/envDefaults