diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-05-12 14:52:27 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-05-12 14:52:27 +0000 |
commit | b04c1f3e616aacf08976b9873e18ca3480076e0c (patch) | |
tree | f97eb8a3dad7e8bfcc0d4d85eb4cac98f2361204 /usr.sbin/pkg_add/OpenBSD/PackageLocator.pm | |
parent | 194aab5fb2e5b686c9638da7036cd3d9e359cc10 (diff) |
use match_ref consistently
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PackageLocator.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackageLocator.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm b/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm index fc36f394b6c..784058e32f3 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.61 2007/05/12 14:16:38 espie Exp $ +# $OpenBSD: PackageLocator.pm,v 1.62 2007/05/12 14:52:26 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -124,11 +124,11 @@ sub match_spec @avail = available(); } if (ref $spec) { - return $spec->match(@avail); + return $spec->match_ref(\@avail); } else { require OpenBSD::PkgSpec; - return OpenBSD::PkgSpec::match($spec, @avail); + return OpenBSD::PkgSpec::match_ref($spec, \@avail); } } |