From a63fa37ad1f7100246f6f6f5d41e4655a61ef06d Mon Sep 17 00:00:00 2001 From: Gordon <46924906+FGadvancer@users.noreply.github.com> Date: Thu, 17 Aug 2023 17:36:48 +0800 Subject: [PATCH] fix: script update Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com> --- scripts/start_all.sh | 2 +- scripts/style_info.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/start_all.sh b/scripts/start_all.sh index bb68546c7..c4529b32d 100755 --- a/scripts/start_all.sh +++ b/scripts/start_all.sh @@ -85,7 +85,7 @@ echo -e "" ./$component_check if [ $? -ne 0 ]; then # Print error message and exit - echo -e "${BOLD_PREFIX}${RED_PREFIX}Error executing ${component_check}. Exiting...${COLOR_SUFFIX}" + echo -e "${RED_BOLD}Error executing ${component_check}. Exiting...${COLOR_SUFFIX}" exit -1 fi diff --git a/scripts/style_info.sh b/scripts/style_info.sh index 452240035..627416e0c 100755 --- a/scripts/style_info.sh +++ b/scripts/style_info.sh @@ -61,6 +61,8 @@ function style-info() { BACKGROUND_LIGHT_PURPLE="\033[105m" # Light purple background BACKGROUND_LIGHT_SKY_BLUE="\033[106m" # Light sky blue background BACKGROUND_LIGHT_WHITE="\033[107m" # Light white background + + RED_BOLD = "\033[1;31m" } style-info \ No newline at end of file