From d92324d5ec21f829ea2c34f0a85d1480a96d449d Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Mon, 3 Feb 2014 11:35:45 +0000 Subject: don't keep tied information around ! --- usr.sbin/pkg_add/OpenBSD/PkgAdd.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr.sbin/pkg_add/OpenBSD/PkgAdd.pm') 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 # @@ -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) { -- cgit v1.2.3