diff options
-rwxr-xr-x | build.sh | 2 | ||||
-rw-r--r-- | subr/ex_rtl_log.subr | 2 | ||||
-rw-r--r-- | vars/env.vars | 1 |
3 files changed, 4 insertions, 1 deletions
@@ -54,7 +54,7 @@ buildp_dispatch() { fi; ;; disabled_pkg) ex_rtl_log_msg vnfo "Skipping disabled package \`${_pkg_name}.'"; ;; skipped_pkg) ex_rtl_log_msg vnfo "Skipping finished package \`${_pkg_name}.'"; ;; - step_pkg) ex_rtl_log_msg vnfo "Finished build step ${4} of package \`${_pkg_name}'."; ;; + step_pkg) ex_rtl_log_msg vucc "Finished build step ${4} of package \`${_pkg_name}'."; ;; # Child process exec_finish) ;; diff --git a/subr/ex_rtl_log.subr b/subr/ex_rtl_log.subr index 43e22ec8..45dbc8df 100644 --- a/subr/ex_rtl_log.subr +++ b/subr/ex_rtl_log.subr @@ -27,6 +27,7 @@ ex_rtl_log_set_vnfo_lvl() { ex_rtl_log_msg() { local _lvl="${1}"; shift; if [ "${_lvl}" = vnfo ]\ + || [ "${_lvl}" = vucc ]\ && [ "${EXP_RTL_LOG_VNFO_LVL:-0}" -lt 1 ]; then return; elif [ "${_lvl}" = vvfo ]\ @@ -46,6 +47,7 @@ ex_rtl_log_msg() { vvvo) printf "\033[0m\033[${DEFAULT_LOG_MSG_VVVO_COLOUR}m"; ;; succ) printf "\033[0m\033[${DEFAULT_LOG_MSG_SUCC_COLOUR}m"; ;; suc2) printf "\033[0m\033[${DEFAULT_LOG_MSG_SUC2_COLOUR}m"; ;; + vucc) printf "\033[0m\033[${DEFAULT_LOG_MSG_VUCC_COLOUR}m"; ;; esac; if [ ${#} -gt 1 ]; then printf "==> %s %s %s\033[0m\n" "$(ex_rtl_date)" "${1}" "$*"; diff --git a/vars/env.vars b/vars/env.vars index 5d2206df..1486fa28 100644 --- a/vars/env.vars +++ b/vars/env.vars @@ -23,6 +23,7 @@ DEFAULT_LOG_MSG_INF2_COLOUR=33; DEFAULT_LOG_MSG_SUCC_COLOUR=92; DEFAULT_LOG_MSG_SUC2_COLOUR=32; DEFAULT_LOG_MSG_VNFO_COLOUR=96; +DEFAULT_LOG_MSG_VUCC_COLOUR=94; DEFAULT_LOG_MSG_VVFO_COLOUR=96; DEFAULT_LOG_MSG_VVVO_COLOUR=96; DEFAULT_TIMESTAMP_FMT="%Y/%m/%d %H:%M:%S"; |