Add set -e to the build script so we catch major errors
authorSteve McIntyre <steve@einval.com>
Sun, 19 Feb 2017 14:41:22 +0000 (14:41 +0000)
committerSteve McIntyre <steve@einval.com>
Sun, 19 Feb 2017 14:41:22 +0000 (14:41 +0000)
strace-build-test

index 5602fa7..3c5399c 100755 (executable)
@@ -61,10 +61,11 @@ DATETIME=$(date -u '+%Y-%m-%d-%H%M%S')
 BDIR=~/build/strace/build-test-${DATETIME}
 
 mkdir -p ${BDIR}
-cd ${BDIR}
+cd ${BDIR} 
 
 cat > ~/build/strace/inside-schroot-test.sh << EOF
 #!/bin/sh
+set -e
 cd ${BDIR}
 git clone -q http://git.code.sf.net/p/strace/code strace.git
 echo "BUILD ENVIRONMENT INFORMATION"