diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-05-14 11:22:01 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-05-14 11:22:01 +0000 |
commit | 8131554814c6ddf6df3c93366f96d307a497458c (patch) | |
tree | ae2fc65691acd83e90813bf35d46aa4cc0654a51 /usr.sbin/pkg_add/OpenBSD/Dependencies.pm | |
parent | 720febe1bcd1646d4cd6850bd15b98c0df0a1324 (diff) |
redo search filters as real objects. Accordingly, rename match_list to
filter.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Dependencies.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Dependencies.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Dependencies.pm b/usr.sbin/pkg_add/OpenBSD/Dependencies.pm index 5b9ff23a887..7a11c4569fb 100644 --- a/usr.sbin/pkg_add/OpenBSD/Dependencies.pm +++ b/usr.sbin/pkg_add/OpenBSD/Dependencies.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Dependencies.pm,v 1.26 2007/05/14 11:02:14 espie Exp $ +# $OpenBSD: Dependencies.pm,v 1.27 2007/05/14 11:22:00 espie Exp $ # # Copyright (c) 2005-2007 Marc Espie <espie@openbsd.org> # @@ -29,7 +29,7 @@ use OpenBSD::Interactive; sub find_candidate { my $spec = shift; - my @candidates = $spec->match_list(@_); + my @candidates = $spec->filter(@_); if (@candidates >= 1) { return $candidates[0]; } else { |