Skip to content

Commit

Permalink
[BUGFIX] Do not double escape path
Browse files Browse the repository at this point in the history
Resolves: #797
  • Loading branch information
simonschaufi committed Jan 10, 2025
1 parent 73757e0 commit 560604d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Task/Neos/Flow/CopyConfigurationTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function execute(Node $node, Application $application, Deployment $deploy
}
$createDirectoryCommand = '"mkdir -p ' . $escapedTargetPath . '"';
$commands[] = ltrim("{$expect} ssh {$sshOptions}{$sshPort}{$username}{$hostname} {$createDirectoryCommand}");
$commands[] = ltrim("{$expect} scp {$sshOptions}{$scpPort}{$escapedSourcePath} {$username}{$hostname}:\"{$escapedTargetPath}\"");
$commands[] = ltrim("{$expect} scp {$sshOptions}{$scpPort}{$escapedSourcePath} {$username}{$hostname}:{$escapedTargetPath}");
}
}

Expand Down

0 comments on commit 560604d

Please sign in to comment.