summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-05-07 14:23:50 +0100
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-05-07 14:23:50 +0100
commit639e93e29aa9d161d191c9f1a813847804876161 (patch)
tree0a03571633799cf3961a166c9c81a5ba0490d887
parent08f57a8d88e4ec4f2705bfd2c69abda752f03907 (diff)
downloadmidipix_build-639e93e29aa9d161d191c9f1a813847804876161.tar.bz2
midipix_build-639e93e29aa9d161d191c9f1a813847804876161.tar.xz
Revert "build.sh:buildp_dispatch_pkg_state(): include percentage and package counts in `finish_pkg' informational."
This reverts commit 08f57a8d88e4ec4f2705bfd2c69abda752f03907.
-rwxr-xr-xbuild.sh2
-rw-r--r--subr/ex_pkg_dispatch.subr2
2 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 745a137b..4ce8b012 100755
--- a/build.sh
+++ b/build.sh
@@ -75,7 +75,7 @@ buildp_dispatch_pkg_state() {
if [ "${ARG_VERBOSE:-0}" -ge 2 ]; then
cat "${BUILD_WORKDIR}/${_pkg_name}_stderrout.log";
fi;
- rtl_log_msg info_end "[% 3d%%] [%03d/%03d] Finished \`%s' build." "$(((100*${4} + ${5}/2)/${5}))" "${4}" "${5}" "${_pkg_name}"; ;;
+ rtl_log_msg info_end "Finished \`%s' build." "${_pkg_name}"; ;;
start_pkg_child)
if [ "${PKG_NO_LOG_VARS:-0}" -eq 0 ]; then
rtl_log_env_vars "build" $(rtl_get_vars_fast "^PKG_");
diff --git a/subr/ex_pkg_dispatch.subr b/subr/ex_pkg_dispatch.subr
index edba315c..669357cd 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 } "${EXP_PKG_DISPATCH_COUNT}" "${EXP_PKG_DISPATCH_COUNT_MAX}";
+ "${_dispatch_fn}" finish_pkg ${_pipe_msg#done };
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