summaryrefslogtreecommitdiffstats
path: root/urpm/download.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-27 13:35:16 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-27 13:35:16 +0000
commitac5aa873b4120d9afd9d0756dd54f99bdef2abda (patch)
treebcc32758eb561645092fdf00eb2892c94556df71 /urpm/download.pm
parent60f00ed59887cd32d5cd7252de138bca359e67b7 (diff)
downloadurpmi-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.pm1
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, @_);
}