Add missing -e flag to echo invocation

Without this, the \e... escape sequence is printed literally.

Change-Id: I6bdac0cc61073d52a718384a3c1349a964ffc71f
This commit is contained in:
Matthew DeVore
2024-08-29 15:38:40 +00:00
parent d713353ab8
commit ff8b9adba3

View File

@@ -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} "$@"