Stop running sysroot.sh at sign of first error.
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 25 Feb 2011 11:06:34 +0000 (03:06 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 7 Mar 2011 10:41:17 +0000 (02:41 -0800)
sysroot.sh

index 77ad994bce7e63368d555130b18aabc771f5dca2..f03d3a93b738afb828d9bff8162f3ca840920bd8 100755 (executable)
@@ -5,6 +5,9 @@ if [[ ${BASH_VERSION} != 4* ]]; then
     exit 1
 fi
 
+set -o pipefail
+set -e
+
 shopt -s extglob
 shopt -s nullglob