diff options
Diffstat (limited to 't/pod/included.t')
-rwxr-xr-x | t/pod/included.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/pod/included.t b/t/pod/included.t index 4f171c454b..0e31a090fc 100755 --- a/t/pod/included.t +++ b/t/pod/included.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 "testp2pt.pl"; import TestPodIncPlainText; } |