aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index a26e48a7..1c254cd9 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -391,7 +391,7 @@ sub mirrors {
if ($arch && compat_arch_for_updates($arch)) {
my ($land, $goodness);
foreach (keys %u2l) {
- if ($url =~ m|\.\Q$_\E/|) {
+ if ($url =~ m|//[^/]+\.\Q$_\E/|) {
$land = $_;
last;
}