# HG changeset patch # User "Yann E. MORIN" # Date 1245700273 -7200 # Node ID 9bb95fa735acf213475eafc9b1519f7f1363b0ec # Parent 084d38788c1dd4b3dd55c01e9879c04a8d8eba57 [functions] Allow newlines (\n) in log messages Allow caller to log messages with embedded newlines when calling CT_DoLog and other logging functions (eg. CT_Abort...). diff -r 084d38788c1d -r 9bb95fa735ac scripts/functions --- a/scripts/functions Thu Jun 18 18:55:07 2009 +0200 +++ b/scripts/functions Mon Jun 22 21:51:13 2009 +0200 @@ -79,7 +79,7 @@ if [ $# -eq 0 ]; then cat - else - echo "${@}" + printf "${@}\n" fi |( IFS="${CR}" # We want the full lines, even leading spaces _prog_bar_cpt=0 _prog_bar[0]='/'