diff options
Diffstat (limited to 't/pod/poderrs.t')
-rwxr-xr-x | t/pod/poderrs.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/pod/poderrs.t b/t/pod/poderrs.t index 591bd2a86d..9cbbeeeb91 100755 --- a/t/pod/poderrs.t +++ b/t/pod/poderrs.t @@ -1,7 +1,7 @@ +#!./perl BEGIN { - use File::Basename; - my $THISDIR = dirname $0; - unshift @INC, $THISDIR; + chdir 't' if -d 't'; + unshift @INC, './pod', '../lib'; require "testpchk.pl"; import TestPodChecker; } |