Add missing -e flag to echo invocation
Without this, the \e... escape sequence is printed literally. Change-Id: I6bdac0cc61073d52a718384a3c1349a964ffc71f
This commit is contained in:
parent
d713353ab8
commit
ff8b9adba3
1 changed files with 1 additions and 1 deletions
|
|
@ -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} "$@"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue