Permalink
Browse files

Fix #697. Use proper destination in sql-sync's core-rsync call.

  • Loading branch information...
weitzman committed Jul 9, 2014
1 parent 838a741 commit 0c95bce6c78e83d05fddc3f8b07fb6b9a09799c6
Showing with 1 addition and 1 deletion.
  1. +1 −1 commands/sql/sync.sql.inc
@@ -127,7 +127,7 @@ function drush_sql_sync($source, $destination) {
// @todo Add an option for choosing runner? Resolve aliases before rsync?
$runner = $destination;
}
$return = drush_invoke_process($runner, 'core-rsync', array("$source:$source_dump_path", "@self:$destination_dump_path"), $rsync_options);
$return = drush_invoke_process($runner, 'core-rsync', array("$source:$source_dump_path", "$destination:$destination_dump_path"), $rsync_options);
drush_log(dt('Copying dump file from Source to Destination.'), 'ok');
if ($return['error_status']) {
return drush_set_error('core-rsync failed.');

0 comments on commit 0c95bce

Please sign in to comment.