From 326b9df3db5b8db72bba9e847f06f280c406184c Mon Sep 17 00:00:00 2001 From: Cristiano Giuffrida Date: Wed, 10 Sep 2014 18:17:18 +0200 Subject: [PATCH] llvm: Improve error handling in configure.llvm. Change-Id: I9aa8f8a07a512f642447c70dca2e85d40ebe2b2a --- minix/llvm/configure.llvm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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." -- 2.44.0