diff options
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PackageName.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackageName.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageName.pm b/usr.sbin/pkg_add/OpenBSD/PackageName.pm index 09de0d3d009..04dfb81d3a6 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackageName.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackageName.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackageName.pm,v 1.20 2007/05/13 13:12:21 espie Exp $ +# $OpenBSD: PackageName.pm,v 1.21 2007/05/13 13:32:36 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -320,11 +320,11 @@ sub split sub match_repo { my ($self, $o) = @_; - return $o->stemlist->findstem($o->{stem}); + return $o->stemlist->findstem($self->{stem}); } package OpenBSD::PackageName::PartialStem; -our @ISA=(qw(OpenBSD::PackageName::PartialStem)); +our @ISA=(qw(OpenBSD::PackageName::Stem)); sub to_pattern { @@ -335,7 +335,7 @@ sub to_pattern sub match_repo { my ($self, $o) = @_; - return $o->stemlist->find_partialstem($o->{stem}); + return $o->stemlist->find_partialstem($self->{stem}); } package OpenBSD::PackageName::Name; |