diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-05-08 08:42:03 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-05-08 08:42:03 +0000 |
commit | feb7dd9882bcc1e1ffe650c19fb86e0b07e1045c (patch) | |
tree | ac314abf5f3889463136b17e376ae36f2c818afa /usr.sbin | |
parent | 3eb07b4112daaf1479491a253f5e56aefad54e0d (diff) |
spec match works better with a list
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackageLocator.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm b/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm index 8772793c980..e425a622e16 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackageLocator.pm,v 1.59 2007/05/07 14:12:43 espie Exp $ +# $OpenBSD: PackageLocator.pm,v 1.60 2007/05/08 08:42:02 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -125,7 +125,7 @@ sub match_spec } require OpenBSD::PkgSpec; - return OpenBSD::PkgSpec::match($spec); + return OpenBSD::PkgSpec::match($spec, @avail); } my $stemlist; |