diff -r 7b3e8b8d392e -r 10d1270080e6 scripts/functions --- a/scripts/functions Fri Oct 31 18:27:27 2008 +0000 +++ b/scripts/functions Fri Nov 28 17:51:39 2008 +0000 @@ -52,6 +52,9 @@ CT_LOG_LEVEL_DEBUG=4 CT_LOG_LEVEL_ALL=5 +# Make it easy to use \n +CR=$(printf "\n") + # A function to log what is happening # Different log level are available: # - ERROR: A serious, fatal error occurred @@ -76,7 +79,7 @@ cat - else echo "${@}" - fi |( IFS="\n" # We want the full lines, even leading spaces + fi |( IFS="${CR}" # We want the full lines, even leading spaces _prog_bar_cpt=0 _prog_bar[0]='/' _prog_bar[1]='-'