summaryrefslogtreecommitdiffhomepage
path: root/build.sh
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 /build.sh
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 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 4ce8b012..745a137b 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 "Finished \`%s' build." "${_pkg_name}"; ;;
+ rtl_log_msg info_end "[% 3d%%] [%03d/%03d] Finished \`%s' build." "$(((100*${4} + ${5}/2)/${5}))" "${4}" "${5}" "${_pkg_name}"; ;;
start_pkg_child)
if [ "${PKG_NO_LOG_VARS:-0}" -eq 0 ]; then
rtl_log_env_vars "build" $(rtl_get_vars_fast "^PKG_");