From 177e317f4a5a57ca27b13cea579704edd1f62e28 Mon Sep 17 00:00:00 2001 From: Florent Villard Date: Mon, 26 Aug 2002 09:30:35 +0000 Subject: =?UTF-8?q?remove=20=C2=B4/=C2=B4=20in=20install=20call=20in=20urp?= =?UTF-8?q?me?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- urpm.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'urpm.pm') diff --git a/urpm.pm b/urpm.pm index 67fc1a7a..2ce9d9d1 100644 --- a/urpm.pm +++ b/urpm.pm @@ -1445,6 +1445,7 @@ sub reduce_pathname { #- remove any multiple /s or trailing /. #- then split all components of pathname. $dir =~ s/\/+/\//g; $dir =~ s/\/$//; + $dir =~ s/([^:]+:\/)?\/+/$1\//g; $dir =~ s/\/$//; my @paths = split '/', $dir; #- reset $dir, recompose it, and clean trailing / added by algorithm. -- cgit v1.2.1