this should fix cp

This commit is contained in:
belliash 2012-01-12 22:01:10 +01:00
parent 6ba372a3e8
commit 8413cc54cc
1 changed files with 2 additions and 2 deletions

View File

@ -297,9 +297,9 @@ function restoreIFS() {
#-------------------------------------------------------------------------------
function run() {
local COMMAND OUTPUT RESULT
COMMAND="${@}"
COMMAND=${@}
logMessage "Executing: \"${COMMAND}\"" "DEBUG"
OUTPUT=$(${COMMAND} 2>&1)
OUTPUT=$(eval ${COMMAND} 2>&1)
RESULT=${?}
logOutput "${OUTPUT}"
return ${RESULT}