We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 88ca915 + 63867af commit 9559181Copy full SHA for 9559181
src/AbstractRoboFile.php
@@ -544,7 +544,7 @@ protected function syncTask(
544
$dir .= ($dir !== '' ? '/' : '');
545
546
$rsync = $this->taskRsync()
547
- ->rawArg('--rsh "ssh -o StrictHostKeyChecking=no -i `vendor/bin/robo digipolis:realpath ' . $tmpKeyFile . '`"')
+ ->rawArg('--rsh "ssh -o StrictHostKeyChecking=no -i `cd -P ' . $sourceRemote['currentdir'] . '/.. && vendor/bin/robo digipolis:realpath ' . $tmpKeyFile . '`"')
548
->fromPath($sourceRemote['filesdir'] . '/' . $dir)
549
->toHost($destinationHost)
550
->toUser($destinationUser)
0 commit comments