summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-12-05 21:25:18 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-12-05 21:25:18 +0000
commit5c1ec1adcaf5625a89690f6118b85f4c320933f4 (patch)
tree2657cbe80455aa4509da9b796b3ed195c73e41a4 /subr
parentcbc8e0b7ea70c0e118b51ac479a08eb95a9779ca (diff)
downloadmidipix_build-5c1ec1adcaf5625a89690f6118b85f4c320933f4.tar.bz2
midipix_build-5c1ec1adcaf5625a89690f6118b85f4c320933f4.tar.xz
build.sh: log step_pkg in blue at -v[v[v]].
subr/ex_rtl_log.subr, vars/env.vars: adds `vucc' & ${DEFAULT_LOG_MSG_VUCC_COLOUR}.
Diffstat (limited to 'subr')
-rw-r--r--subr/ex_rtl_log.subr2
1 files changed, 2 insertions, 0 deletions
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}" "$*";