Skip to content

Commit

Permalink
Merge pull request #61 from Sebobo/patch-1
Browse files Browse the repository at this point in the history
BUGFIX: Rsync with zsh
  • Loading branch information
mficzel authored Jan 21, 2025
2 parents e1a293e + 7cfe348 commit 9c624eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Classes/Command/CloneCommandController.php
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ protected function cloneRemoteHost(
if (!$resourceProxyConfiguration) {
$this->renderHeadLine('Transfer Files');
$this->executeLocalShellCommand(
'rsync -e "ssh -p %s %s" -kLr %s@%s:%s/* %s',
'rsync -e "ssh -p %s %s" -kLr %s@%s:"%s/*" %s',
[
$port,
addslashes($sshOptions),
Expand All @@ -355,7 +355,7 @@ protected function cloneRemoteHost(
} else {
$this->renderHeadLine('Transfer Files - without Resources because a resourceProxyConfiguration is found');
$this->executeLocalShellCommand(
'rsync -e "ssh -p %s %s" --exclude "Resources/*" -kLr %s@%s:%s/* %s',
'rsync -e "ssh -p %s %s" --exclude "Resources/*" -kLr %s@%s:"%s/*" %s',
[
$port,
addslashes($sshOptions),
Expand Down Expand Up @@ -391,7 +391,7 @@ protected function cloneRemoteHost(

if ($translationsAvailable === 'true') {
$this->executeLocalShellCommand(
'rsync -e "ssh -p %s %s" -kLr %s@%s:%s/* %s',
'rsync -e "ssh -p %s %s" -kLr %s@%s:"%s/*" %s',
[
$port,
addslashes($sshOptions),
Expand Down

0 comments on commit 9c624eb

Please sign in to comment.