Merge pull request #1513 from mdlemay/check-newlib-conf
galileo: build_newlib.sh: Exit on configuration error
This commit is contained in:
commit
fbf3aba152
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
JOBS=5
|
||||
TARGET=i586-elf
|
||||
VERSION=2.2.0-1
|
||||
|
@ -99,7 +101,9 @@ cleanup() {
|
|||
|
||||
|
||||
# By default we always call prepare, build and setup.
|
||||
prepare && build && setup
|
||||
prepare
|
||||
build
|
||||
setup
|
||||
|
||||
# But we only cleanup if -c is used.
|
||||
case $1 in
|
||||
|
|
Loading…
Reference in a new issue