From b4ca089ce19b82623cddbb367df1e42c7993f774 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 27 Dec 2018 14:42:36 +0100 Subject: utils: improve echo functions --- scripts/utils | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts/utils') 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 } -- cgit v1.2.3