summaryrefslogtreecommitdiff
path: root/ext/B/t/stash.t
diff options
context:
space:
mode:
Diffstat (limited to 'ext/B/t/stash.t')
-rwxr-xr-xext/B/t/stash.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/B/t/stash.t b/ext/B/t/stash.t
index ba58d172b9..b83493fe34 100755
--- a/ext/B/t/stash.t
+++ b/ext/B/t/stash.t
@@ -1,8 +1,11 @@
#!./perl
BEGIN {
+ chdir 't' if -d 't';
if ($^O eq 'MacOS') {
@INC = qw(: ::lib ::macos:lib);
+ } else {
+ @INC = '../lib';
}
}