[BUGFIX] [Issue#405] Malformed ssh command when defining host:port notation

This commit is contained in:
Andrés Montañez
2018-03-29 17:33:20 -03:00
parent bab5e164a5
commit 4232059d7e
11 changed files with 165 additions and 7 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ class RsyncTask extends AbstractTask
$flags = $this->runtime->getEnvOption('rsync', '-avz');
$sshConfig = $this->runtime->getSSHConfig();
$user = $this->runtime->getEnvOption('user', $this->runtime->getCurrentUser());
$host = $this->runtime->getWorkingHost();
$host = $this->runtime->getHostName();
$hostPath = rtrim($this->runtime->getEnvOption('host_path'), '/');
$targetDir = rtrim($hostPath, '/');