Add missing -e flag to echo invocation
Without this, the \e... escape sequence is printed literally. Change-Id: I6bdac0cc61073d52a718384a3c1349a964ffc71f
This commit is contained in:
@@ -57,7 +57,7 @@ function _setup_cog_env() {
|
|||||||
fi
|
fi
|
||||||
function repo {
|
function repo {
|
||||||
if [[ "${PWD}" == /google/cog/* ]]; then
|
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
|
return 1
|
||||||
fi
|
fi
|
||||||
${ORIG_REPO_PATH} "$@"
|
${ORIG_REPO_PATH} "$@"
|
||||||
|
Reference in New Issue
Block a user