From 9dfc4a84bccd82c292277217ec1b6fe59e6b5490 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Wed, 16 Jul 2003 12:07:46 +0000 Subject: fixed small typo on regex for URPM::compute_flags --- URPM/Resolve.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'URPM') diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm index 0ba8ff1..9987dc5 100644 --- a/URPM/Resolve.pm +++ b/URPM/Resolve.pm @@ -845,7 +845,7 @@ sub compute_flags { if (%regex) { foreach my $pkg (@{$urpm->{depslist}}) { #- check if fullname is matching a regexp. - if (grep { exists($regex{$_}{''}) && $pkg->fullname =~ /$1/ } keys %regex) { + if (grep { exists($regex{$_}{''}) && $pkg->fullname =~ /$_/ } keys %regex) { #- a single selection on fullname using a regular expression. foreach (qw(skip disable_obsolete)) { if ($options{$_} && !$pkg->flag($_)) { -- cgit v1.2.1