base_script.sh: some minor changes in script output.

This commit is contained in:
Christoph 2020-06-28 11:41:11 +02:00
parent d092d2eca6
commit f4e8b35f92

View File

@ -151,6 +151,11 @@ echo_ok() {
echo -e "\033[75G[ \033[32mok\033[m ]"
fi
}
echo_warn() {
if $terminal ; then
echo -e "\033[75G[ \033[33mwarn\033[m ]"
fi
}
echo_failed(){
if $terminal ; then
echo -e "\033[75G[ \033[1;31mfailed\033[m ]"
@ -158,7 +163,7 @@ echo_failed(){
}
echo_skipped() {
if $terminal ; then
echo -e "\033[75G[ \033[33m\033[1mskipped\033[m ]"
echo -e "\033[75G[ \033[37m\033[1mskipped\033[m ]"
fi
}
echo_wait(){