summaryrefslogtreecommitdiff
path: root/ext/Encode/t/JP.t
diff options
context:
space:
mode:
Diffstat (limited to 'ext/Encode/t/JP.t')
-rw-r--r--ext/Encode/t/JP.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/Encode/t/JP.t b/ext/Encode/t/JP.t
index 733aeb9a15..457f20400f 100644
--- a/ext/Encode/t/JP.t
+++ b/ext/Encode/t/JP.t
@@ -1,4 +1,5 @@
BEGIN {
+ if (! -d 'blib' and -d 't'){ chdir 't' };
chdir 't' if -d 't' and $ENV{PWD} !~ m,/Encode[^/]*$,o;
unshift @INC, '../lib';
require Config; import Config;