From b16522c8e6019db4924de98a5c3bce735fa34597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Tue, 25 Feb 2020 19:19:05 +0000 Subject: build.sh:buildp_dispatch(): set ${_njobs_max} from ${ARG_PARALLEL} vs. ${DEFAULT_BUILD_CPUS}. --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index fae8dc00..d9bfd93c 100755 --- a/build.sh +++ b/build.sh @@ -16,7 +16,7 @@ buildp_dispatch() { _build_groups_lc="$(ex_rtl_lfilter "${_build_groups_lc}" "host_deps_rpm")"; fi; if [ "${ARG_PARALLEL:-0}" -gt 1 ]; then - _njobs_max="${DEFAULT_BUILD_CPUS}"; + _njobs_max="${ARG_PARALLEL}"; fi; for _build_group_lc in ${_build_groups_lc}; do ex_pkg_dispatch buildp_dispatch "${_build_group_lc}" "${_njobs_max}" \ -- cgit v1.2.3