diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2020-02-25 19:19:05 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2020-02-25 19:19:05 +0000 |
commit | b16522c8e6019db4924de98a5c3bce735fa34597 (patch) | |
tree | 7c1c1ab713b117f69b0cc3ffedb4a9712f4145a7 | |
parent | 07f73a1c134cf99332bb9de02bc72d88754146f4 (diff) | |
download | midipix_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-x | build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}" \ |