From 219f2f988ef3b56c3a6acaf516c53aa35070ae03 Mon Sep 17 00:00:00 2001 From: Robin Burchell Date: Wed, 15 May 2019 20:05:18 +0200 Subject: [PATCH] BuildIt: use set -e to fail immediately on error This saves time if something goes wrong very early in the build process. --- Toolchain/BuildIt.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Toolchain/BuildIt.sh b/Toolchain/BuildIt.sh index a97f3c44e9..63b5631817 100755 --- a/Toolchain/BuildIt.sh +++ b/Toolchain/BuildIt.sh @@ -1,4 +1,6 @@ #!/bin/bash +set -e + DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" echo $DIR