summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-11-12 00:04:35 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-11-12 00:04:35 +0000
commited2055951ab78adbad6d3fd49d80791051fe0b93 (patch)
treef6002dcddbca72e40edb3472ba209210887b6cdb /usr.sbin/pkg_add
parent8193093476cdc649bb73992f4091f5b35d2fd73c (diff)
computed fullname.
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/pkg_add6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add
index 24000e7b37c..a2825fa0b14 100644
--- a/usr.sbin/pkg_add/pkg_add
+++ b/usr.sbin/pkg_add/pkg_add
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: pkg_add,v 1.106 2004/11/11 12:45:15 espie Exp $
+# $OpenBSD: pkg_add,v 1.107 2004/11/12 00:04:34 espie Exp $
#
# Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org>
#
@@ -258,9 +258,9 @@ sub borked_installation
require OpenBSD::md5;
my $old = $last->{md5};
- $last->{md5} = OpenBSD::md5::fromfile($last->{fullname});
+ $last->{md5} = OpenBSD::md5::fromfile($last->fullname());
if ($old ne $last->{md5}) {
- print "Adjusting md5 for ", $last->{fullname}, " from ",
+ print "Adjusting md5 for ", $last->fullname(), " from ",
$old, " to ", $last->{md5}, "\n";
}
}