diff options
Diffstat (limited to 't/pod/emptycmd.t')
-rwxr-xr-x | t/pod/emptycmd.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/pod/emptycmd.t b/t/pod/emptycmd.t index 59e395ea04..d348a9d278 100755 --- a/t/pod/emptycmd.t +++ b/t/pod/emptycmd.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; } |