]> Zhao Yanbai Git Server - minix.git/commitdiff
llvm: Improve error handling in configure.llvm. 29/3129/1
authorCristiano Giuffrida <giuffrida@cs.vu.nl>
Wed, 10 Sep 2014 16:17:18 +0000 (18:17 +0200)
committerDavid van Moolenbroek <david@minix3.org>
Thu, 17 Sep 2015 13:48:18 +0000 (13:48 +0000)
Change-Id: I9aa8f8a07a512f642447c70dca2e85d40ebe2b2a

minix/llvm/configure.llvm

index 60a3b6132b4ec94369c63fc6c44823178a1d89c1..d23e9afaba4e97c1dfcc5d28e8f04c6e1e186786 100755 (executable)
@@ -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."