Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #21 from johnny-bit/rsync_src_fix
Browse files Browse the repository at this point in the history
Fix rsync scr not ending in '/'
  • Loading branch information
gordalina committed Jul 6, 2015
2 parents f9c87d8 + 4ab9adb commit 950affe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/rsync.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,5 @@
$port = $server->getPort() ? ' -p' . $server->getPort() : '';
$user = !$server->getUser() ? '' : $server->getUser() . '@';

runLocally("rsync -{$config['flags']} -e 'ssh$port' {{rsync_options}}{{rsync_excludes}}{{rsync_includes}}{{rsync_filter}} '$src' '$user$host:$dst/'");
runLocally("rsync -{$config['flags']} -e 'ssh$port' {{rsync_options}}{{rsync_excludes}}{{rsync_includes}}{{rsync_filter}} '$src/' '$user$host:$dst/'");
})->desc('Rsync local->remote');

0 comments on commit 950affe

Please sign in to comment.