diff options
author | Karel Kočí <cynerd@email.cz> | 2018-12-27 14:42:36 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-12-27 14:42:36 +0100 |
commit | b4ca089ce19b82623cddbb367df1e42c7993f774 (patch) | |
tree | ab52ac3143a74bbf09a4aeeb14762a98073e717a | |
parent | 41e3966df31528ba0da20535d603764365596c39 (diff) | |
download | laminar-cnf-b4ca089ce19b82623cddbb367df1e42c7993f774.tar.gz laminar-cnf-b4ca089ce19b82623cddbb367df1e42c7993f774.tar.bz2 laminar-cnf-b4ca089ce19b82623cddbb367df1e42c7993f774.zip |
utils: improve echo functions
-rw-r--r-- | scripts/utils | 8 |
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 } |