Adding set -e to build commands
Change-Id: I72d02db1f6f8484f4ffb2d00406e6af2c866a7fb
diff --git a/tools/build/onos-package b/tools/build/onos-package
index 269f959..8f6127d 100755
--- a/tools/build/onos-package
+++ b/tools/build/onos-package
@@ -3,6 +3,8 @@
# Packages ONOS distributable into onos.tar.gz, onos.zip or a deb file
# -----------------------------------------------------------------------------
+set -e
+
# Build the staging directory used to produce the packages
function build_stage_dir() {
# Make sure we have the original apache karaf bits first