From ff8b9adba357c735046ba62862a424b40bcd8f0a Mon Sep 17 00:00:00 2001 From: Matthew DeVore Date: Thu, 29 Aug 2024 15:38:40 +0000 Subject: [PATCH] Add missing -e flag to echo invocation Without this, the \e... escape sequence is printed literally. Change-Id: I6bdac0cc61073d52a718384a3c1349a964ffc71f --- cogsetup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogsetup.sh b/cogsetup.sh index ef1485d5f2..5c64a068e0 100644 --- a/cogsetup.sh +++ b/cogsetup.sh @@ -57,7 +57,7 @@ function _setup_cog_env() { fi function repo { if [[ "${PWD}" == /google/cog/* ]]; then - echo "\e[01;31mERROR:\e[0mrepo command is disallowed within Cog workspaces." + echo -e "\e[01;31mERROR:\e[0mrepo command is disallowed within Cog workspaces." return 1 fi ${ORIG_REPO_PATH} "$@"