summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2014-02-08 15:07:13 +0000
committerMarc Espie <espie@cvs.openbsd.org>2014-02-08 15:07:13 +0000
commit5fd89187248e64c1d86e2ec43e71d834a9253c53 (patch)
treebddadc2ecf9fb8bad2120cb80305d1e66f116006
parenta62265bfdaf55c1c9c40329ff612cbcd4527cb03 (diff)
style
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackingList.pm12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingList.pm b/usr.sbin/pkg_add/OpenBSD/PackingList.pm
index 1279084039e..fa5322562b3 100644
--- a/usr.sbin/pkg_add/OpenBSD/PackingList.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PackingList.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: PackingList.pm,v 1.131 2014/02/04 18:11:36 espie Exp $
+# $OpenBSD: PackingList.pm,v 1.132 2014/02/08 15:07:12 espie Exp $
#
# Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org>
#
@@ -400,8 +400,8 @@ sub is_signed
sub fullpkgpath
{
my $self = shift;
- if (defined $self->{extrainfo} && $self->{extrainfo}->{subdir} ne '') {
- return $self->{extrainfo}->{subdir};
+ if (defined $self->{extrainfo} && $self->{extrainfo}{subdir} ne '') {
+ return $self->{extrainfo}{subdir};
} else {
return undef;
}
@@ -410,8 +410,8 @@ sub fullpkgpath
sub fullpkgpath2
{
my $self = shift;
- if (defined $self->{extrainfo} && $self->{extrainfo}->{subdir} ne '') {
- return $self->{extrainfo}->{path};
+ if (defined $self->{extrainfo} && $self->{extrainfo}{subdir} ne '') {
+ return $self->{extrainfo}{path};
} else {
return undef;
}
@@ -429,7 +429,7 @@ sub pkgpath
}
if (defined $self->{pkgpath}) {
for my $i (@{$self->{pkgpath}}) {
- push(@{$h->{$i->{path}->{dir}}}, $i->{path});
+ push(@{$h->{$i->{path}{dir}}}, $i->{path});
}
}
}