diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2004-11-07 13:29:30 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2004-11-07 13:29:30 +0000 |
commit | 5334b4f7b930c7b519acee4b67269114bf85d9a8 (patch) | |
tree | f7353cac9f65aa91cb349bf2cc704be5a75683a7 /usr.sbin/pkg_add | |
parent | cb7d58fe44fd6007d96f78a4bc56f227ef2b26ce (diff) |
clone() library entry so that md5 and modes/owners get copied along.
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Update.pm | 4 |
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 298f75f8c66..baf873d37fc 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.12 2004/11/07 13:19:48 espie Exp $ +# $OpenBSD: Update.pm,v 1.13 2004/11/07 13:29:29 espie Exp $ # # Copyright (c) 2004 Marc Espie <espie@openbsd.org> # @@ -211,7 +211,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->{name}); + OpenBSD::PackingElement::Lib->add($splitted, $item->clone()); } elsif ($item->isa("OpenBSD::PackingElement::Cwd")) { OpenBSD::PackingElement::Cwd->add($splitted, $item->{name}); } else { |