summaryrefslogtreecommitdiff
path: root/lib/File/Spec/Mac.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/File/Spec/Mac.pm')
-rw-r--r--lib/File/Spec/Mac.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/File/Spec/Mac.pm b/lib/File/Spec/Mac.pm
index e31737ca71..81016b3090 100644
--- a/lib/File/Spec/Mac.pm
+++ b/lib/File/Spec/Mac.pm
@@ -373,8 +373,7 @@ directory on your startup volume.
my $tmpdir;
sub tmpdir {
return $tmpdir if defined $tmpdir;
- my $self = shift;
- $tmpdir = $self->_tmpdir( $ENV{TMPDIR} );
+ $tmpdir = $_[0]->_tmpdir( $ENV{TMPDIR} );
}
=item updir