Tweak on yaml parser. Added option for ssh port.

This commit is contained in:
Andrs Montaez
2012-02-15 18:45:59 -02:00
parent 565078a7f8
commit 2ec4f58c77
3 changed files with 4 additions and 2 deletions
+1
View File
@@ -36,6 +36,7 @@ class Mage_Task_BuiltIn_Deployment_Rsync
}
$command = 'rsync -avz '
. '--rsh="ssh -p' . $this->_config->deployment('port', '22') . '" '
. $this->_excludes(array_merge($excludes, $userExcludes)) . ' '
. $this->_config->deployment('from') . ' '
. $this->_config->deployment('user') . '@' . $this->_config->getHost() . ':' . $deployToDirectory;