Skip to content

Commit

Permalink
Use command to determine realpath.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jelle-S committed Oct 5, 2018
1 parent 58122c7 commit 63867af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AbstractRoboFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ protected function syncTask(
$dir .= ($dir !== '' ? '/' : '');

$rsync = $this->taskRsync()
->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 . '`"')
->fromPath($sourceRemote['filesdir'] . '/' . $dir)
->toHost($destinationHost)
->toUser($destinationUser)
Expand Down

0 comments on commit 63867af

Please sign in to comment.