diff --git a/dist/tools/ci/github_annotate.sh b/dist/tools/ci/github_annotate.sh index 41acd65461..1e21802119 100644 --- a/dist/tools/ci/github_annotate.sh +++ b/dist/tools/ci/github_annotate.sh @@ -9,7 +9,7 @@ LOGFILE= OUTFILE=github_annotate_outfile.log ECHO_ESC=echo -if ps -p $$ | grep -q '\'; then +if [ -n "${BASH_VERSION}" ]; then # workaround when included in bash to escape newlines and carriage returns # properly in _escape ECHO_ESC='echo -e'