Skip to content

Commit 9559181

Browse files
committed
Merge branch 'develop'
Merge details: commit 63867af Author: Jelle Sebreghts <sebreghts.jelle@gmail.com> Date: Fri Oct 5 11:47:20 2018 Use command to determine realpath.
2 parents 88ca915 + 63867af commit 9559181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AbstractRoboFile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ protected function syncTask(
544544
$dir .= ($dir !== '' ? '/' : '');
545545

546546
$rsync = $this->taskRsync()
547-
->rawArg('--rsh "ssh -o StrictHostKeyChecking=no -i `vendor/bin/robo digipolis:realpath ' . $tmpKeyFile . '`"')
547+
->rawArg('--rsh "ssh -o StrictHostKeyChecking=no -i `cd -P ' . $sourceRemote['currentdir'] . '/.. && vendor/bin/robo digipolis:realpath ' . $tmpKeyFile . '`"')
548548
->fromPath($sourceRemote['filesdir'] . '/' . $dir)
549549
->toHost($destinationHost)
550550
->toUser($destinationUser)

0 commit comments

Comments
 (0)