github_annotate.sh: fix escaped echo for bash scripts

This commit is contained in:
Martine Lenders 2021-01-11 14:13:16 +01:00
parent 9ee568e319
commit 429a2a8724
No known key found for this signature in database
GPG Key ID: CCD317364F63286F

View File

@ -9,7 +9,7 @@ LOGFILE=
OUTFILE=github_annotate_outfile.log OUTFILE=github_annotate_outfile.log
ECHO_ESC=echo 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 # workaround when included in bash to escape newlines and carriage returns
# properly in _escape # properly in _escape
ECHO_ESC='echo -e' ECHO_ESC='echo -e'