summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackingElement.pm4
1 files changed, 2 insertions, 2 deletions
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 <espie@openbsd.org>
#
@@ -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;
}