scripts/functions
changeset 1516 df99f43e9db7
parent 1509 f79fcf38ec21
child 1583 991a59088ff0
     1.1 --- a/scripts/functions	Mon Aug 31 12:47:58 2009 +0200
     1.2 +++ b/scripts/functions	Sun Sep 06 16:49:20 2009 +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 "${*}\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]='/'
    1.12 @@ -116,7 +116,7 @@
    1.13  CT_DoExecLog() {
    1.14      local level="$1"
    1.15      shift
    1.16 -    CT_DoLog DEBUG "==> Executing: '${@}'"
    1.17 +    CT_DoLog DEBUG "==> Executing: '${*}'"
    1.18      "${@}" 2>&1 |CT_DoLog "${level}"
    1.19  }
    1.20