From 07c1532f3b55116216fac8f680853a19c29b2bdb Mon Sep 17 00:00:00 2001
From: Dilawar Singh <dilawars@ncbs.res.in>
Date: Tue, 13 Mar 2018 15:53:10 +0530
Subject: [PATCH] This build passes locally.

---
 cmake/build_moose-core.sh.in | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/cmake/build_moose-core.sh.in b/cmake/build_moose-core.sh.in
index 0cf1778e..820010c2 100755
--- a/cmake/build_moose-core.sh.in
+++ b/cmake/build_moose-core.sh.in
@@ -6,9 +6,8 @@ set -e
 # NOTICE: This file is parsed by cmake to create a shell script. Not all syntax
 # will play well with cmake. CMAKE replaces @FOO@ and ${FOO} with cmake variable
 # values.
-NPROC=$(nproc)
 if [ -z $MAKEOPTS ]; then
-    export MAKEOPTS="-j${NPROC}"
+    export MAKEOPTS="-j`nproc`"
 fi
 
 echo "Building pymoose and creating bdist."
-- 
GitLab