summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-11-11 20:59:06 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-11-11 20:59:06 +0000
commitb9da9f209bef5cc8bf1e1151708637c6eb8959c1 (patch)
tree7a0f3fc26f88eb682e05295d9f70d1ea8109c2a6 /usr.sbin
parentb7a96fc32231ed8ea05b63b938a0df03d297578b (diff)
oops
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 36527599b74..b75eb273928 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.24 2004/11/11 13:54:48 espie Exp $
+# $OpenBSD: Update.pm,v 1.25 2004/11/11 20:59:05 espie Exp $
#
# Copyright (c) 2004 Marc Espie <espie@openbsd.org>
#
@@ -271,7 +271,7 @@ sub split_libs
for my $item (@{$plist->{items}}) {
if ($item->isa("OpenBSD::PackingElement::Lib") &&
defined $to_split->{$item->fullname()}) {
- OpenBSD::PackingElement::Lib->add($splitted, $item->clone());
+ $item->clone()->add_object($splitted);
} elsif ($item->isa("OpenBSD::PackingElement::Cwd")) {
OpenBSD::PackingElement::Cwd->add($splitted, $item->{name});
} else {