diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-10-27 13:35:16 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-10-27 13:35:16 +0000 |
commit | ac5aa873b4120d9afd9d0756dd54f99bdef2abda (patch) | |
tree | bcc32758eb561645092fdf00eb2892c94556df71 /urpm/download.pm | |
parent | 60f00ed59887cd32d5cd7252de138bca359e67b7 (diff) | |
download | urpmi-ac5aa873b4120d9afd9d0756dd54f99bdef2abda.tar urpmi-ac5aa873b4120d9afd9d0756dd54f99bdef2abda.tar.gz urpmi-ac5aa873b4120d9afd9d0756dd54f99bdef2abda.tar.bz2 urpmi-ac5aa873b4120d9afd9d0756dd54f99bdef2abda.tar.xz urpmi-ac5aa873b4120d9afd9d0756dd54f99bdef2abda.zip |
Fix bug in rsync over ssh invocation
Diffstat (limited to 'urpm/download.pm')
-rw-r--r-- | urpm/download.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/download.pm b/urpm/download.pm index 78494081..52f33d24 100644 --- a/urpm/download.pm +++ b/urpm/download.pm @@ -454,6 +454,7 @@ sub sync_rsync { sub sync_ssh { -x "/usr/bin/ssh" or die N("ssh is missing\n"); my $options = shift(@_); + $options = { dir => $options } if !ref $options; $options->{ssh} = 1; sync_rsync($options, @_); } |