summaryrefslogtreecommitdiff
path: root/t/pod/testp2pt.pl
diff options
context:
space:
mode:
Diffstat (limited to 't/pod/testp2pt.pl')
-rw-r--r--t/pod/testp2pt.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/pod/testp2pt.pl b/t/pod/testp2pt.pl
index 735350ff40..4d99f82a72 100644
--- a/t/pod/testp2pt.pl
+++ b/t/pod/testp2pt.pl
@@ -47,8 +47,10 @@ if ($^O eq 'VMS') { # clean up directory spec
$INSTDIR =~ s#/$##;
$INSTDIR =~ s#/000000/#/#;
}
+# cut 't/pod' from path (cut 't:pod:' on Mac OS)
$INSTDIR = (dirname $INSTDIR) if (basename($INSTDIR) eq 'pod');
$INSTDIR = (dirname $INSTDIR) if (basename($INSTDIR) eq 't');
+
my @PODINCDIRS = ( catfile($INSTDIR, 'lib', 'Pod'),
catfile($INSTDIR, 'scripts'),
catfile($INSTDIR, 'pod'),