Tweaks on port definition.

Now port can be defined into the hostname.
This commit is contained in:
Andrs Montaez
2012-02-15 19:08:16 -02:00
parent e42a1f1193
commit 51e7de0676
8 changed files with 22 additions and 9 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ class Mage_Task_BuiltIn_Deployment_Rsync
}
$command = 'rsync -avz '
. '--rsh="ssh -p' . $this->_config->deployment('port', '22') . '" '
. '--rsh="ssh -p' . $this->_config->getHostPort() . '" '
. $this->_excludes(array_merge($excludes, $userExcludes)) . ' '
. $this->_config->deployment('from') . ' '
. $this->_config->deployment('user') . '@' . $this->_config->getHost() . ':' . $deployToDirectory;