From d1feb7cb604d0492848d9cb5eb86c6bbde75e27d Mon Sep 17 00:00:00 2001 From: waddlesplash Date: Sat, 19 May 2018 14:54:10 -0400 Subject: [PATCH] build_cross_tools: Have scripts exit on failure. Previously they just silently continued, which meant that if part of the cross-tools build failed, you would have to scroll back pretty far to see what the failure was. --- build/scripts/build_cross_tools | 2 ++ build/scripts/build_cross_tools_gcc4 | 2 ++ 2 files changed, 4 insertions(+) diff --git a/build/scripts/build_cross_tools b/build/scripts/build_cross_tools index 19e0ee303f..58776f1761 100755 --- a/build/scripts/build_cross_tools +++ b/build/scripts/build_cross_tools @@ -11,6 +11,8 @@ if [ $# -lt 3 ]; then exit 1 fi +set -e + haikuSourceDir=$1 buildToolsDir=$2/legacy installDir=$3 diff --git a/build/scripts/build_cross_tools_gcc4 b/build/scripts/build_cross_tools_gcc4 index 55057da9f0..a54dc020b1 100755 --- a/build/scripts/build_cross_tools_gcc4 +++ b/build/scripts/build_cross_tools_gcc4 @@ -9,6 +9,8 @@ if [ $# -lt 4 ]; then exit 1 fi +set -e + haikuMachine=$1 haikuSourceDir=$2 buildToolsDir=$3