From d75f12cacecfa7877a327e83e2862c685012a548 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Thu, 26 Aug 2010 23:36:54 +0200 Subject: scripts/log: do not interpret log string as printf format Signed-off-by: "Yann E. MORIN" (transplanted from 5f01a23be1e427f95806bbf5d880f5ee6839bed1) diff --git a/scripts/functions b/scripts/functions index ef77b20..b257918 100644 --- a/scripts/functions +++ b/scripts/functions @@ -79,7 +79,7 @@ CT_DoLog() { if [ $# -eq 0 ]; then cat - else - printf "${*}\n" + printf "%s\n" "${*}" fi |( IFS="${CR}" # We want the full lines, even leading spaces _prog_bar_cpt=0 _prog_bar[0]='/' -- cgit v0.10.2-6-g49f6