From f60692f2572f6ee8c301e1c867c858f9bdab2b2c Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Wed, 7 Sep 2022 14:19:04 -0500 Subject: [PATCH] add -e to echo calls in tools script --- home/private_bin/executable_tools | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/home/private_bin/executable_tools b/home/private_bin/executable_tools index 163d238..b998cd3 100644 --- a/home/private_bin/executable_tools +++ b/home/private_bin/executable_tools @@ -89,9 +89,9 @@ get_days() { now=$(date +'%s') days=$(((now - install_date) / 86400)) if ((days > 60)); then - echo "${RED}$date_out${NORMAL}" + echo -e "${RED}$date_out${NORMAL}" elif ((days > 30)); then - echo "${YELLOW}$date_out${NORMAL}" + echo -e "${YELLOW}$date_out${NORMAL}" else echo "$date_out" fi @@ -165,7 +165,7 @@ download() { download_all() { - echo "Downloading binaries to ${GREEN}$BIN_DIR${NORMAL}" + echo -e "Downloading binaries to ${GREEN}$BIN_DIR${NORMAL}" deps_check @@ -222,11 +222,11 @@ done # if no args, show help if [ -z "$args" ]; then - echo "${RED}No arguments supplied${NORMAL}" + echo -e "${RED}No arguments supplied${NORMAL}" help exit 0 else - echo "Downloading binaries to ${GREEN}$BIN_DIR${NORMAL}" + echo -e "Downloading binaries to ${GREEN}$BIN_DIR${NORMAL}" deps_check for tool in "${args[@]}"; do download "$tool"