Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. diff --git a/commands/core/rsync.core.inc b/commands/core/rsync.core.inc
  2. index 4bc9dbb..66fef6b 100644
  3. --- a/commands/core/rsync.core.inc
  4. +++ b/commands/core/rsync.core.inc
  5. @@ -228,6 +228,12 @@ function _drush_rsync_option_exists($option, $additional_options) {
  6. function _drush_core_rsync_both_remote($source, $destination, $additional_options, $source_path) {
  7. $options = $additional_options + drush_redispatch_get_options();
  8.  
  9. + // We do not want to include root or uri here. If the user
  10. + // provided -r or -l, their key has already been remapped to
  11. + // 'root' or 'uri' by the time we get here.
  12. + unset($options['root']);
  13. + unset($options['uri']);
  14. +
  15. // Make a temporary directory to copy to. There are three
  16. // cases to consider:
  17. //
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement