diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2005-09-14 10:16:09 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2005-09-14 10:16:09 +0000 |
commit | 50a4d1eacc4c3d2ef74e57aa2cb98d92cee1ed38 (patch) | |
tree | f1bc34363b72dd389cefee4765503bccfd98e992 | |
parent | d5e9772906ac3ed55f810884c0f27edaadf68e87 (diff) |
typo, let @pkgpath work.
-rw-r--r-- | usr.sbin/pkg_add/pkg_add | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add index 96bc8accc55..7d47c5db56a 100644 --- a/usr.sbin/pkg_add/pkg_add +++ b/usr.sbin/pkg_add/pkg_add @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: pkg_add,v 1.201 2005/09/13 20:57:14 espie Exp $ +# $OpenBSD: pkg_add,v 1.202 2005/09/14 10:16:08 espie Exp $ # # Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org> # @@ -686,7 +686,7 @@ sub find_updates push(@l2, $candidate); } elsif ($p2->has('pkgpath')) { for my $p (@{$p2->{pkgpath}}) { - if ($p2->{name} eq $plist->{extrainfo}->{subdir}) { + if ($p->{name} eq $plist->{extrainfo}->{subdir}) { push(@l2, $candidate); last; } |