From 9233b9c0f75571037ca6875b8bc9a847da92afea Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Sun, 15 Apr 2007 10:01:14 +0000 Subject: do not rely on side-effects in there. --- usr.sbin/pkg_add/OpenBSD/PackingElement.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/pkg_add/OpenBSD/PackingElement.pm') diff --git a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm index cf4d384b6b1..c78a3e65d45 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackingElement.pm,v 1.86 2006/12/16 12:28:15 espie Exp $ +# $OpenBSD: PackingElement.pm,v 1.87 2007/04/15 10:01:13 espie Exp $ # # Copyright (c) 2003-2004 Marc Espie # @@ -500,7 +500,7 @@ sub add { my ($class, $plist, @args) = @_; - $plist->{state}->{lastfile}->add_md5(pack('H*', $')); + $plist->{state}->{lastfile}->add_md5(pack('H*', $args[0])); return; } -- cgit v1.2.3