github_annotate.sh: fix escaped echo for bash scripts
This commit is contained in:
parent
9ee568e319
commit
429a2a8724
2
dist/tools/ci/github_annotate.sh
vendored
2
dist/tools/ci/github_annotate.sh
vendored
@ -9,7 +9,7 @@ LOGFILE=
|
||||
OUTFILE=github_annotate_outfile.log
|
||||
ECHO_ESC=echo
|
||||
|
||||
if ps -p $$ | grep -q '\<bash\>'; then
|
||||
if [ -n "${BASH_VERSION}" ]; then
|
||||
# workaround when included in bash to escape newlines and carriage returns
|
||||
# properly in _escape
|
||||
ECHO_ESC='echo -e'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user