summaryrefslogtreecommitdiff
path: root/cpan/Pod-Usage/t/pod/testp2pt.pl
diff options
context:
space:
mode:
Diffstat (limited to 'cpan/Pod-Usage/t/pod/testp2pt.pl')
-rw-r--r--cpan/Pod-Usage/t/pod/testp2pt.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpan/Pod-Usage/t/pod/testp2pt.pl b/cpan/Pod-Usage/t/pod/testp2pt.pl
index cd31245327..720575336c 100644
--- a/cpan/Pod-Usage/t/pod/testp2pt.pl
+++ b/cpan/Pod-Usage/t/pod/testp2pt.pl
@@ -11,7 +11,7 @@ BEGIN {
unshift @INC, $THISDIR;
require "testcmp.pl";
import TestCompare;
- $PARENTDIR = dirname $THISDIR;
+ $PARENTDIR = File::Spec->catdir($THISDIR, File::Spec->updir());
push @INC, map { File::Spec->catfile($_, 'lib') } ($PARENTDIR, $THISDIR);
}