make: bail if make fails?
This commit is contained in:
parent
6d78b765b1
commit
e9e9635a5f
|
@ -20,7 +20,7 @@ useradd -u $NEWUID local
|
|||
ln -s /root/gcc_local util/local
|
||||
|
||||
# Run make as local
|
||||
runuser -u local -- sh -c 'make base/lib/libc.so && make -j4'
|
||||
runuser -u local -- sh -c 'make base/lib/libc.so && make -j4' || exit 1
|
||||
|
||||
# Remove the build tools
|
||||
rm util/local
|
||||
|
|
Loading…
Reference in New Issue