From: Cristiano Giuffrida Date: Wed, 10 Sep 2014 16:17:18 +0000 (+0200) Subject: llvm: Improve error handling in configure.llvm. X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=326b9df3db5b8db72bba9e847f06f280c406184c;p=minix.git llvm: Improve error handling in configure.llvm. Change-Id: I9aa8f8a07a512f642447c70dca2e85d40ebe2b2a --- diff --git a/minix/llvm/configure.llvm b/minix/llvm/configure.llvm index 60a3b6132..d23e9afab 100755 --- a/minix/llvm/configure.llvm +++ b/minix/llvm/configure.llvm @@ -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."