Merge pull request #1513 from mdlemay/check-newlib-conf

galileo: build_newlib.sh: Exit on configuration error
This commit is contained in:
Nicolas Tsiftes 2016-03-03 13:39:27 +01:00
commit fbf3aba152

View file

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
set -e
JOBS=5 JOBS=5
TARGET=i586-elf TARGET=i586-elf
VERSION=2.2.0-1 VERSION=2.2.0-1
@ -99,7 +101,9 @@ cleanup() {
# By default we always call prepare, build and setup. # By default we always call prepare, build and setup.
prepare && build && setup prepare
build
setup
# But we only cleanup if -c is used. # But we only cleanup if -c is used.
case $1 in case $1 in