From add7bbcf88662a87f53cd3546a65b243e34e5598 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Thu, 12 Dec 2019 10:43:26 +0100 Subject: [PATCH] enable escape codes for color --- travis/prepare.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/travis/prepare.sh b/travis/prepare.sh index 54075e9..e0d81b9 100755 --- a/travis/prepare.sh +++ b/travis/prepare.sh @@ -151,7 +151,7 @@ EOF fi else - echo "${ANSI_GREEN}EPICS build system already set up (Base was loaded from cache)${ANSI_RESET}" + echo -e "${ANSI_GREEN}EPICS build system already set up (Base was loaded from cache)${ANSI_RESET}" fi # Download RTEMS cross compiler @@ -174,7 +174,7 @@ fold_start build.dependencies "Build missing/outdated dependencies" [ "$VV" ] && silent="-s" || silent= -[ -z "$modules_to_compile" ] && echo "${ANSI_GREEN}All dependency modules are up-to-date (nothing to do)${ANSI_RESET}" +[ -z "$modules_to_compile" ] && echo -e "${ANSI_GREEN}All dependency modules are up-to-date (nothing to do)${ANSI_RESET}" for module in ${modules_to_compile} do @@ -186,7 +186,7 @@ done fold_end build.dependencies -echo "${ANSI_BLUE}Dependency module information${ANSI_RESET}" +echo -e "${ANSI_BLUE}Dependency module information${ANSI_RESET}" echo "Module Tag Binaries Commit" echo "-----------------------------------------------------------------------------------" @@ -200,5 +200,5 @@ do printf "%-10s %-12s %-11s %s\n" "$mod" "$tag" "$stat" "$commit" done -echo "${ANSI_BLUE}Contents of RELEASE.local${ANSI_RESET}" +echo -e "${ANSI_BLUE}Contents of RELEASE.local${ANSI_RESET}" cat ${CACHEDIR}/RELEASE.local