summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-06-26 10:27:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-06-26 10:27:05 +0000
commitf87b6ce918494efcc524221cc8614592b4709c94 (patch)
tree0b9ded0d18a007eb95bed8b1baf7c073ef2e9c67 /perl-install/any.pm
parent1dfc06422978cbae04f06f13165d2aea37fac8e1 (diff)
downloaddrakx-backup-do-not-use-f87b6ce918494efcc524221cc8614592b4709c94.tar
drakx-backup-do-not-use-f87b6ce918494efcc524221cc8614592b4709c94.tar.gz
drakx-backup-do-not-use-f87b6ce918494efcc524221cc8614592b4709c94.tar.bz2
drakx-backup-do-not-use-f87b6ce918494efcc524221cc8614592b4709c94.tar.xz
drakx-backup-do-not-use-f87b6ce918494efcc524221cc8614592b4709c94.zip
fix space containing labels
Diffstat (limited to 'perl-install/any.pm')
-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;