From e4ee36fa170d08bccbbd32fe0d56e53f072a2f97 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 4 Mar 2019 11:38:38 +0000 Subject: [PATCH] make.sh: Use variable instead of calling system_processors function again Signed-off-by: Michael Tremer --- make.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/make.sh b/make.sh index 78fb2e41a3..f3b125dfba 100755 --- a/make.sh +++ b/make.sh @@ -206,9 +206,7 @@ configure_build() { # 192MB of memory. Therefore we find out how # many processes fit into memory. local mem_max=$(( ${SYSTEM_MEMORY} / 192 )) - - local processors="$(system_processors)" - local cpu_max=$(( ${processors} + 1 )) + local cpu_max=$(( ${SYSTEM_PROCESSORS} + 1 )) local parallelism if [ ${mem_max} -lt ${cpu_max} ]; then -- 2.39.2