diff options
author | Alexey Neyman <stilor@att.net> | 2015-10-29 20:58:52 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2015-10-30 16:24:52 -0700 |
commit | b2f8afef8532247c60764fffc938898903c06a4c (patch) | |
tree | 6bd2fbf1aafab2543a1ae3dc2bb1a4dc65c0f0be /scripts | |
parent | 5844514e74eac69b71c1e1661676dd88e4450610 (diff) | |
download | crosstool-ng-b2f8afef8532247c60764fffc938898903c06a4c.tar.gz crosstool-ng-b2f8afef8532247c60764fffc938898903c06a4c.tar.bz2 crosstool-ng-b2f8afef8532247c60764fffc938898903c06a4c.zip |
Interpret escape sequences in CT_DoLog.
Otherwise, CT_Abort messages with \n are not displayed properly.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions index 91ec2171..2261b8d0 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]='/' |