llvm: Improve error handling in configure.llvm.

Change-Id: I9aa8f8a07a512f642447c70dca2e85d40ebe2b2a
This commit is contained in:
Cristiano Giuffrida 2014-09-10 18:17:18 +02:00 committed by David van Moolenbroek
parent 3779ed93c3
commit 326b9df3db

View file

@ -128,8 +128,7 @@ if [ "${REBUILD_MINIX}" == "yes" ]; then
echo "JOBS:$JOBS"
echo
cd ${MINIX_ROOT}
BUILDVARS="-V MKBITCODE=yes" ./releasetools/x86_hdimage.sh
EXITCODE=$?
BUILDVARS="-V MKBITCODE=yes" ./releasetools/x86_hdimage.sh || EXITCODE=1
cd ${MYPWD}
if [ "$EXITCODE" != "0" ]; then
echo "Error: Failed building Minix source code."