diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-10-03 16:49:51 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-10-03 16:49:51 (GMT) |
commit | 9b9be141ee4b9a140c9cd4c9eae7c7b4385822ec (patch) | |
tree | 78156c49c6a7085d26587991222e8b19be972b79 /scripts/functions | |
parent | 26edbc5b62418e0eea8bacb9f8c076c46ae51ed8 (diff) | |
parent | 89351cb89887e1e7de93afea665351cf70fe6f86 (diff) |
Merge.
Diffstat (limited to 'scripts/functions')
-rw-r--r-- | scripts/functions | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/functions b/scripts/functions index ae584c4..62a2f99 100644 --- a/scripts/functions +++ b/scripts/functions @@ -79,7 +79,7 @@ CT_DoLog() { if [ $# -eq 0 ]; then cat - else - printf "${@}\n" + printf "${*}\n" fi |( IFS="${CR}" # We want the full lines, even leading spaces _prog_bar_cpt=0 _prog_bar[0]='/' @@ -116,7 +116,7 @@ CT_DoLog() { CT_DoExecLog() { local level="$1" shift - CT_DoLog DEBUG "==> Executing: '${@}'" + CT_DoLog DEBUG "==> Executing: '${*}'" "${@}" 2>&1 |CT_DoLog "${level}" } |