Skip to content

Commit 9c624eb

Browse files
authored
Merge pull request #61 from Sebobo/patch-1
BUGFIX: Rsync with zsh
2 parents e1a293e + 7cfe348 commit 9c624eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Classes/Command/CloneCommandController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ protected function cloneRemoteHost(
342342
if (!$resourceProxyConfiguration) {
343343
$this->renderHeadLine('Transfer Files');
344344
$this->executeLocalShellCommand(
345-
'rsync -e "ssh -p %s %s" -kLr %s@%s:%s/* %s',
345+
'rsync -e "ssh -p %s %s" -kLr %s@%s:"%s/*" %s',
346346
[
347347
$port,
348348
addslashes($sshOptions),
@@ -355,7 +355,7 @@ protected function cloneRemoteHost(
355355
} else {
356356
$this->renderHeadLine('Transfer Files - without Resources because a resourceProxyConfiguration is found');
357357
$this->executeLocalShellCommand(
358-
'rsync -e "ssh -p %s %s" --exclude "Resources/*" -kLr %s@%s:%s/* %s',
358+
'rsync -e "ssh -p %s %s" --exclude "Resources/*" -kLr %s@%s:"%s/*" %s',
359359
[
360360
$port,
361361
addslashes($sshOptions),
@@ -391,7 +391,7 @@ protected function cloneRemoteHost(
391391

392392
if ($translationsAvailable === 'true') {
393393
$this->executeLocalShellCommand(
394-
'rsync -e "ssh -p %s %s" -kLr %s@%s:%s/* %s',
394+
'rsync -e "ssh -p %s %s" -kLr %s@%s:"%s/*" %s',
395395
[
396396
$port,
397397
addslashes($sshOptions),

0 commit comments

Comments
 (0)