summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 34e32a2c5..9737b264f 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -130,7 +130,7 @@ You can add some more or change the existing ones."),
$e->{label} = $prefix;
for (my $nb = 0; member($e->{label}, @labels); $nb++) { $e->{label} = "$prefix-$nb" }
} else {
- $c =~ /(\S+)/;
+ $c =~ /(.*) \(/;
($e) = grep { $_->{label} eq $1 } @{$b->{entries}};
}
my %old_e = %$e;