summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PkgAdd.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm
index 393cd0fcfe1..6458a7e1154 100644
--- a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: PkgAdd.pm,v 1.55 2014/02/02 15:22:36 espie Exp $
+# $OpenBSD: PkgAdd.pm,v 1.56 2014/02/03 11:35:44 espie Exp $
#
# Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org>
#
@@ -949,13 +949,13 @@ sub process_set
}
}
if ($set->newer > 0 && $set->older_to_do > 0 && !$state->defines('donttie')) {
- $set->{sha} = {};
+ my $sha = {};
for my $o ($set->older_to_do) {
- $o->{plist}->hash_files($set->{sha}, $state);
+ $o->{plist}->hash_files($sha, $state);
}
for my $n ($set->newer) {
- $n->{plist}->tie_files($set->{sha}, $state);
+ $n->{plist}->tie_files($sha, $state);
}
}
if ($set->newer > 0 || $set->older_to_do > 0) {