summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/Replace.pm
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2009-10-15 10:45:48 +0000
committerMarc Espie <espie@cvs.openbsd.org>2009-10-15 10:45:48 +0000
commit79c5d277257cd0dd954ca3aea4805f704391bea8 (patch)
tree383d07ad5e5ee1fdeb1d3d51fe4c83350ec86efa /usr.sbin/pkg_add/OpenBSD/Replace.pm
parent071c67a432b2772d433712002c7698df9ff0087f (diff)
let handle compute pkgnames correctly, simplifies code a bit
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Replace.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Replace.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Replace.pm b/usr.sbin/pkg_add/OpenBSD/Replace.pm
index 1fd88125925..8b65a2d344e 100644
--- a/usr.sbin/pkg_add/OpenBSD/Replace.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Replace.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Replace.pm,v 1.50 2009/10/11 11:51:22 espie Exp $
+# $OpenBSD: Replace.pm,v 1.51 2009/10/15 10:45:47 espie Exp $
#
# Copyright (c) 2004-2006 Marc Espie <espie@openbsd.org>
#
@@ -432,7 +432,7 @@ sub save_old_libraries
for my $o ($set->older) {
- my $oldname = $o->{pkgname};
+ my $oldname = $o->pkgname;
my $libs = {};
my $p = {};