summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2009-06-06 11:48:05 +0000
committerMarc Espie <espie@cvs.openbsd.org>2009-06-06 11:48:05 +0000
commit88882c002d203afe3b942846fc83f707bc1a75e2 (patch)
tree8e704b8ecdf58dda91d645dad66dccf4a448b860 /usr.sbin
parentc8677a8acfad56671a5a27001f0fce990d334c69 (diff)
fix direct pkgpath case
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Update.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Update.pm b/usr.sbin/pkg_add/OpenBSD/Update.pm
index 7d2be570e6c..f35e5a72252 100644
--- a/usr.sbin/pkg_add/OpenBSD/Update.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Update.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Update.pm,v 1.83 2009/04/19 14:58:32 espie Exp $
+# $OpenBSD: Update.pm,v 1.84 2009/06/06 11:48:04 espie Exp $
#
# Copyright (c) 2004-2006 Marc Espie <espie@openbsd.org>
#
@@ -121,7 +121,7 @@ sub process_package
if ($state->{defines}->{pkgpath}) {
$state->progress->clear;
print "Directly updating $pkgname -> ", $l->[0]->name, "\n";
- $self->add2updates($l->[0]->name);
+ $self->add2updates($l->[0]);
return;
}
if (defined $found && $found eq $l->[0] &&