From bcfc1c0c369374cf53354d94879f4278f244824b Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Tue, 16 Sep 2003 13:11:39 +0000 Subject: fixed reduce_pathname returning emptry string for directory instead of / for base. --- urpm.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'urpm.pm') diff --git a/urpm.pm b/urpm.pm index 4a0651e6..0e8604cf 100644 --- a/urpm.pm +++ b/urpm.pm @@ -2165,6 +2165,7 @@ sub reduce_pathname { } } $dir =~ s/\/$//; + $dir ||= '/'; $host . $dir; } -- cgit v1.2.1