summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-02-25 19:19:05 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-02-25 19:19:05 +0000
commitb16522c8e6019db4924de98a5c3bce735fa34597 (patch)
tree7c1c1ab713b117f69b0cc3ffedb4a9712f4145a7
parent07f73a1c134cf99332bb9de02bc72d88754146f4 (diff)
downloadmidipix_build-b16522c8e6019db4924de98a5c3bce735fa34597.tar.bz2
midipix_build-b16522c8e6019db4924de98a5c3bce735fa34597.tar.xz
build.sh:buildp_dispatch(): set ${_njobs_max} from ${ARG_PARALLEL} vs. ${DEFAULT_BUILD_CPUS}.
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
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}" \