From ac5aa873b4120d9afd9d0756dd54f99bdef2abda Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 27 Oct 2005 13:35:16 +0000 Subject: Fix bug in rsync over ssh invocation --- urpm/download.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'urpm') 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, @_); } -- cgit v1.2.1