The escapedTargetPath is as its name says already escaped and is put into quotes in resulting script.
This leads to an error when the scp command is called, as the path cannot be resolved:
I assume this error rarely occurs as in most projects, the environment specific configuration is managed on the target system, or (in my case) the copy task is executed on the server itself.
The
escapedTargetPath
is as its name says already escaped and is put into quotes in resulting script. This leads to an error when the scp command is called, as the path cannot be resolved:https://github.com/TYPO3/Surf/blob/c22b941b749fb0d7102615d1ce0025be96473140/src/Task/Neos/Flow/CopyConfigurationTask.php#L78
I assume this error rarely occurs as in most projects, the environment specific configuration is managed on the target system, or (in my case) the copy task is executed on the server itself.