summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2019-06-09 12:16:08 +0000
committerMarc Espie <espie@cvs.openbsd.org>2019-06-09 12:16:08 +0000
commit5eba82b3ea36ead9ef81367e1f0da7ddf3451104 (patch)
treeb1c9d965772c1e8648a34284cefc2b324715a0d0 /usr.sbin/pkg_add
parent7acb565001ccb50a8f31a0b58276c98eeb13e167 (diff)
somehow, I thought I was recording destdir there, but I'm not.
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/SharedItems.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/SharedItems.pm b/usr.sbin/pkg_add/OpenBSD/SharedItems.pm
index d939f1652ab..e593e6a2e1d 100644
--- a/usr.sbin/pkg_add/OpenBSD/SharedItems.pm
+++ b/usr.sbin/pkg_add/OpenBSD/SharedItems.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: SharedItems.pm,v 1.32 2014/11/20 14:10:18 espie Exp $
+# $OpenBSD: SharedItems.pm,v 1.33 2019/06/09 12:16:07 espie Exp $
#
# Copyright (c) 2004-2006 Marc Espie <espie@openbsd.org>
#
@@ -100,8 +100,7 @@ sub cleanup
for my $d (sort {$b cmp $a} keys %$h) {
$state->progress->show($done, $total);
- my $realname = $state->{destdir}.$d;
- if (defined $remaining->{dirs}{$realname}) {
+ if (defined $remaining->{dirs}{$d}) {
for my $i (@{$h->{$d}}) {
$state->log->set_context('-'.$i->{pkgname});
$i->reload($state);