aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorTobias Bosch2014-01-09 16:05:46 -0800
committerTobias Bosch2014-01-09 17:37:27 -0800
commit5a9cb8be3fae06cc0fcefc3d4340d3847bb6b925 (patch)
tree31917364c5c851089deccdde7fea5d903a25c3da /scripts
parent63cd873fef3207deef30c7a7ed66f4b8f647dc12 (diff)
downloadangular.js-5a9cb8be3fae06cc0fcefc3d4340d3847bb6b925.tar.bz2
chore(build): bugfix for script utils
Diffstat (limited to 'scripts')
-rw-r--r--scripts/utils.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/utils.inc b/scripts/utils.inc
index 00213628..6e54d66e 100644
--- a/scripts/utils.inc
+++ b/scripts/utils.inc
@@ -51,6 +51,8 @@
# - serVar
# - isFunction
+# always stop on errors
+set -e
function usage {
echo "Usage: ${0} ${ARG_DEFS[@]}"
@@ -255,9 +257,6 @@ function main {
git_push_dryrun_proxy
fi
- # stop on errors
- set -e
-
# --verbose argument
if [[ $VERBOSE == "true" ]]; then
set -x