summaryrefslogtreecommitdiff
path: root/lib/Pod/t/pod2html-lib.pl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Pod/t/pod2html-lib.pl')
-rw-r--r--lib/Pod/t/pod2html-lib.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Pod/t/pod2html-lib.pl b/lib/Pod/t/pod2html-lib.pl
index 3a83bd14d8..3f1b267ee1 100644
--- a/lib/Pod/t/pod2html-lib.pl
+++ b/lib/Pod/t/pod2html-lib.pl
@@ -7,7 +7,7 @@ sub convert_n_test {
my($podfile, $testname) = @_;
my $cwd = Cwd::cwd();
- my $base_dir = catdir $cwd, "..", "lib", "Pod";
+ my $base_dir = catdir $cwd, updir(), "lib", "Pod";
my $new_dir = catdir $base_dir, "t";
my $infile = catfile $new_dir, "$podfile.pod";
my $outfile = catfile $new_dir, "$podfile.html";