make: bail if make fails?

This commit is contained in:
K. Lange 2021-10-13 21:13:16 +09:00
parent 6d78b765b1
commit e9e9635a5f
1 changed files with 1 additions and 1 deletions

View File

@ -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