summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-05-07 12:10:55 +0100
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-05-07 12:10:55 +0100
commit08f57a8d88e4ec4f2705bfd2c69abda752f03907 (patch)
tree8f6e0e58ddb1b26395f6f41a7c56acaaf269d96b /subr
parentd827f8bf908b605cbbc4034f801de4f6daf99e4f (diff)
downloadmidipix_build-08f57a8d88e4ec4f2705bfd2c69abda752f03907.tar.bz2
midipix_build-08f57a8d88e4ec4f2705bfd2c69abda752f03907.tar.xz
build.sh:buildp_dispatch_pkg_state(): include percentage and package counts in `finish_pkg' informational.
subr/ex_pkg_dispatch.subr:exp_pkg_dispatch_group(): include package counts in `finish_pkg' message.
Diffstat (limited to 'subr')
-rw-r--r--subr/ex_pkg_dispatch.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/subr/ex_pkg_dispatch.subr b/subr/ex_pkg_dispatch.subr
index 669357cd..edba315c 100644
--- a/subr/ex_pkg_dispatch.subr
+++ b/subr/ex_pkg_dispatch.subr
@@ -68,7 +68,7 @@ exp_pkg_dispatch_group() {
case "${_pipe_msg%% *}" in
done) _pkg_name="${_pipe_msg#done * }"; : $((EXP_PKG_DISPATCH_NJOBS-=1));
EX_PKG_FINISHED="$(rtl_lconcat "${EX_PKG_FINISHED}" "${_pkg_name}")";
- "${_dispatch_fn}" finish_pkg ${_pipe_msg#done };
+ "${_dispatch_fn}" finish_pkg ${_pipe_msg#done } "${EXP_PKG_DISPATCH_COUNT}" "${EXP_PKG_DISPATCH_COUNT_MAX}";
EX_PKG_NAMES="$(rtl_lfilter "${EX_PKG_NAMES}" "${_pkg_name}")";
EX_PKG_DISPATCH_WAIT="$(rtl_lfilter "${EX_PKG_DISPATCH_WAIT}" "${_pkg_name}")";
if [ -n "${EX_PKG_NAMES}" ] && [ "${_rc}" -eq 0 ]; then