projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
RE: Two questions
[p5sagit/p5-mst-13.2.git]
/
lib
/
FindBin.t
diff --git
a/lib/FindBin.t
b/lib/FindBin.t
index
d07ce75
..
ebca15b
100755
(executable)
--- a/
lib/FindBin.t
+++ b/
lib/FindBin.t
@@
-1,8
+1,8
@@
#!./perl
BEGIN {
- chdir 't' if -d 't';
- @INC = '../lib';
+ # Can't chdir in BEGIN before FindBin runs, as it then can't find us.
+ @INC = -d 't' ? 'lib' : '../lib';
}
print "1..1\n";