Releases List.

This commit is contained in:
Andrs Montaez
2012-01-01 13:36:41 -02:00
parent b8b054757a
commit dd46e4d637
5 changed files with 134 additions and 5 deletions
+4 -4
View File
@@ -16,18 +16,18 @@ abstract class Mage_Task_TaskAbstract
{
}
protected final function _runLocalCommand($command)
protected final function _runLocalCommand($command, &$output = null)
{
return Mage_Console::executeCommand($command);
return Mage_Console::executeCommand($command, $output);
}
protected final function _runRemoteCommand($command)
protected final function _runRemoteCommand($command, &$output = null)
{
$localCommand = 'ssh '
. $this->_config['deploy']['deployment']['user'] . '@' . $this->_config['deploy']['host'] . ' '
. '"cd ' . $this->_config['deploy']['deployment']['to'] . ' && '
. $command . '"';
return $this->_runLocalCommand($localCommand);
return $this->_runLocalCommand($localCommand, $output);
}
}