diff --git a/eosio_build.sh b/eosio_build.sh index 800ad71788445bdcd11a6b829f3c60a31be65a63..75abd376d29cc3d1eef550d0bf003909aa13f910 100755 --- a/eosio_build.sh +++ b/eosio_build.sh @@ -277,7 +277,8 @@ exit 0 fi - if ! make -j"${CPU_CORE}" + if [ -z ${JOBS} ]; then JOBS=$CPU_CORE; fi # Future proofing: Ensure $JOBS is set (usually set in scripts/eosio_build_*.sh scripts) + if ! make -j"${JOBS}" then printf "\\n\\t>>>>>>>>>>>>>>>>>>>> MAKE building EOSIO has exited with the above error.\\n\\n" exit -1