summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-12-27 14:42:36 +0100
committerKarel Kočí <cynerd@email.cz>2018-12-27 14:42:36 +0100
commitb4ca089ce19b82623cddbb367df1e42c7993f774 (patch)
treeab52ac3143a74bbf09a4aeeb14762a98073e717a /scripts
parent41e3966df31528ba0da20535d603764365596c39 (diff)
downloadlaminar-cnf-b4ca089ce19b82623cddbb367df1e42c7993f774.tar.gz
laminar-cnf-b4ca089ce19b82623cddbb367df1e42c7993f774.tar.bz2
laminar-cnf-b4ca089ce19b82623cddbb367df1e42c7993f774.zip
utils: improve echo functions
Diffstat (limited to 'scripts')
-rw-r--r--scripts/utils8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/utils b/scripts/utils
index 103d471..8837c3c 100644
--- a/scripts/utils
+++ b/scripts/utils
@@ -8,16 +8,16 @@ fi
## Simple echo wrappers #########################################################
echo_stage() {
- echo -e "\033[1;34m========== $@ ==========\033[0m ($(date))" >&2
+ echo -e "\033[1;34m========== " "$@" " ==========\033[0m ($(date))" >&2
}
echo_info() {
- echo -e "\033[1;32m---------- $@ ----------\033[0m" >&2
+ echo -e "\033[1;32m---------- " "$@" " ----------\033[0m" >&2
}
echo_debug() {
- echo -e "\033[1;30m--- $@ ---\033[0m" >&2
+ echo -e "\033[1;30m--- " "$@" " ---\033[0m" >&2
}
echo_fail() {
- echo -e "\033[1;31m---------- $@ ----------\033[0m" >&2
+ echo -e "\033[1;31m---------- " "$@" " ----------\033[0m" >&2
return 1
}