summaryrefslogtreecommitdiffhomepage
path: root/subr/ex_rtl_log.subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-02-14 12:38:08 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-02-14 12:38:08 +0000
commitae3ff05d44d48ca824347bdbd6b823a9720b1a0c (patch)
treed8a6f570422029f75cd1a9e938f8cd4d43128341 /subr/ex_rtl_log.subr
parentc3bcd77642eef559476e518f3dd95f7837d9e109 (diff)
downloadmidipix_build-ae3ff05d44d48ca824347bdbd6b823a9720b1a0c.tar.bz2
midipix_build-ae3ff05d44d48ca824347bdbd6b823a9720b1a0c.tar.xz
groups/2*.native_packages_*.group: adds dependencies.
subr/build_init.subr:buildp_init_getopts(): reject invalid build group names. subr/build_init.subr:buildp_init_prereqs(): insist on GNU sed. subr/build_init.subr:build_fini(): fixed. subr/ex_rtl_complex.subr:ex_rtl_kill_tree(): restored. subr/ex_rtl_log.subr: include fallback ${DEFAULT_LOG_MSG_*_COLOUR}s.
Diffstat (limited to 'subr/ex_rtl_log.subr')
-rw-r--r--subr/ex_rtl_log.subr11
1 files changed, 11 insertions, 0 deletions
diff --git a/subr/ex_rtl_log.subr b/subr/ex_rtl_log.subr
index 2ed295b6..460c899e 100644
--- a/subr/ex_rtl_log.subr
+++ b/subr/ex_rtl_log.subr
@@ -2,6 +2,17 @@
# set -o noglob is assumed.
#
+: ${DEFAULT_LOG_MSG_FAIL_COLOUR:=91};
+: ${DEFAULT_LOG_MSG_INFO_COLOUR:=93};
+: ${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:=90};
+: ${DEFAULT_LOG_MSG_VVFO_COLOUR:=96};
+: ${DEFAULT_LOG_MSG_VVVO_COLOUR:=96};
+: ${DEFAULT_LOG_MSG_VVVV_COLOUR:=96};
+
exp_rtl_log_printf() {
local _attrs="${1}" _msg=""; shift; _msg="$(printf "${@}")";
if [ "${BUILD_IS_PARENT:-0}" -eq 1 ]; then