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.
This commit is contained in:
waddlesplash
2018-05-19 14:54:10 -04:00
parent 36d628673c
commit d1feb7cb60
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -11,6 +11,8 @@ if [ $# -lt 3 ]; then
exit 1
fi
set -e
haikuSourceDir=$1
buildToolsDir=$2/legacy
installDir=$3
+2
View File
@@ -9,6 +9,8 @@ if [ $# -lt 4 ]; then
exit 1
fi
set -e
haikuMachine=$1
haikuSourceDir=$2
buildToolsDir=$3