scripts/log: do not interpret log string as printf format
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Aug 26 23:36:54 2010 +0200 (2010-08-26)
changeset 20965f01a23be1e4
parent 2091 7975604aacbd
child 2097 056a2c826185
scripts/log: do not interpret log string as printf format

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
scripts/functions
     1.1 --- a/scripts/functions	Mon Aug 23 23:24:16 2010 +0200
     1.2 +++ b/scripts/functions	Thu Aug 26 23:36:54 2010 +0200
     1.3 @@ -79,7 +79,7 @@
     1.4      if [ $# -eq 0 ]; then
     1.5          cat -
     1.6      else
     1.7 -        printf "${*}\n"
     1.8 +        printf "%s\n" "${*}"
     1.9      fi |( IFS="${CR}" # We want the full lines, even leading spaces
    1.10            _prog_bar_cpt=0
    1.11            _prog_bar[0]='/'