summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-06-25 09:30:17 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-06-25 09:30:17 +0000
commite965c837604486eb7ff4c3e876a247dbf6339412 (patch)
tree39c3cbd00761977ae47130ee0f49718a4c69f41a
parent4996241bc0b4b487ca55a9722a684b3ad2ba9152 (diff)
typo
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Add.pm4
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Delete.pm4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Add.pm b/usr.sbin/pkg_add/OpenBSD/Add.pm
index 89f85d27ab2..b600fdd9eea 100644
--- a/usr.sbin/pkg_add/OpenBSD/Add.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Add.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Add.pm,v 1.80 2007/06/18 10:47:03 espie Exp $
+# $OpenBSD: Add.pm,v 1.81 2007/06/25 09:30:16 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -346,7 +346,7 @@ sub prepare_for_addition
{
my ($self, $state, $pkgname) = @_;
return unless $self->{noshadow};
- $state->{noshadow}->{$self->{destdir}.$self->fullname} = 1;
+ $state->{noshadow}->{$state->{destdir}.$self->fullname} = 1;
}
package OpenBSD::PackingElement::FileBase;
diff --git a/usr.sbin/pkg_add/OpenBSD/Delete.pm b/usr.sbin/pkg_add/OpenBSD/Delete.pm
index ed780746c5d..43cd54be7de 100644
--- a/usr.sbin/pkg_add/OpenBSD/Delete.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Delete.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Delete.pm,v 1.69 2007/06/18 10:47:03 espie Exp $
+# $OpenBSD: Delete.pm,v 1.70 2007/06/25 09:30:16 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -303,7 +303,7 @@ sub prepare_for_deletion
{
my ($self, $state, $pkgname) = @_;
return unless $self->{noshadow};
- $state->{noshadow}->{$self->{destdir}.$self->fullname} = 1;
+ $state->{noshadow}->{$state->{destdir}.$self->fullname} = 1;
}
sub delete