From b2f8afef8532247c60764fffc938898903c06a4c Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Thu, 29 Oct 2015 20:58:52 -0700 Subject: Interpret escape sequences in CT_DoLog. Otherwise, CT_Abort messages with \n are not displayed properly. Signed-off-by: Alexey Neyman diff --git a/scripts/functions b/scripts/functions index 91ec217..2261b8d 100644 --- a/scripts/functions +++ b/scripts/functions @@ -178,7 +178,7 @@ CT_DoLog() { if [ $# -eq 0 ]; then cat - else - printf "%s\n" "${*}" + echo -e "${*}" fi |( IFS="${CR}" # We want the full lines, even leading spaces _prog_bar_cpt=0 _prog_bar[0]='/' -- cgit v0.10.2-6-g49f6