Log the command being run when calling CT_DoExecLog, which is kinda the point of CT_DoExecLog, anyway...

/trunk/scripts/functions |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
This commit is contained in:
Yann E. MORIN" 2008-07-14 15:20:11 +00:00
parent dd5a5f683e
commit 2a884e354a

View File

@ -110,7 +110,7 @@ CT_DoLog() {
CT_DoExecLog() {
local level="$1"
shift
CT_DoLog ${level} "${@}"
CT_DoLog DEBUG "==> Executing: '${@}'"
eval "${@}" 2>&1 |CT_DoLog "${level}"
}