From 0f2c3dc07f8032857b811fe5d751119e2b67f923 Mon Sep 17 00:00:00 2001 From: Todd Volkert Date: Wed, 22 Jun 2016 12:53:07 -0700 Subject: [PATCH] Fix multi-line colors on Linux (#4691) --- dev/bots/test.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev/bots/test.sh b/dev/bots/test.sh index 6d99b44a31..37fe9804e0 100755 --- a/dev/bots/test.sh +++ b/dev/bots/test.sh @@ -8,9 +8,9 @@ detect_error_on_exit() { exit_code=$? set +x if [[ $exit_code -ne 0 ]]; then - echo -e "\x1B[31m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━" - echo -e "\x1B[1mError:\x1B[0m\x1B[31m script exited early due to error ($exit_code)" - echo -e "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\x1B[0m" + echo -e "\x1B[31m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\x1B[0m" + echo -e "\x1B[31m\x1B[1mError:\x1B[0m\x1B[31m script exited early due to error ($exit_code)" + echo -e "\x1B[31m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\x1B[0m" fi }