summaryrefslogtreecommitdiff
path: root/sysroot.sh
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-25 03:06:34 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:17 -0800
commit6a451713c956fcb815e34b125c06ce305c6cd94b (patch)
tree163b275a997d0c5d1fa540d14377a19da2d1dd9b /sysroot.sh
parentf2229be25e593028b45150d92faa412d63797b89 (diff)
Stop running sysroot.sh at sign of first error.
Diffstat (limited to 'sysroot.sh')
-rwxr-xr-xsysroot.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysroot.sh b/sysroot.sh
index 77ad994..f03d3a9 100755
--- a/sysroot.sh
+++ b/sysroot.sh
@@ -5,6 +5,9 @@ if [[ ${BASH_VERSION} != 4* ]]; then
exit 1
fi
+set -o pipefail
+set -e
+
shopt -s extglob
shopt -s nullglob