diff options
author | Nicholas Clark <nick@ccl4.org> | 2001-10-07 21:53:33 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-10-08 11:53:30 +0000 |
commit | 88587957d5515b280bc1becf23e9f6520d5dce08 (patch) | |
tree | 9bce880697d5b08985c9b38192d4549c30054862 /lib/FindBin.t | |
parent | e3b2f2afc4d28243cf088b06f65acc79e00144f5 (diff) | |
download | perl-88587957d5515b280bc1becf23e9f6520d5dce08.tar.gz |
& what's to be done for 5.8.0?
Message-ID: <20011007205333.S38756@plum.flirble.org>
p4raw-id: //depot/perl@12356
Diffstat (limited to 'lib/FindBin.t')
-rwxr-xr-x | lib/FindBin.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/FindBin.t b/lib/FindBin.t index d07ce755ca..ebca15b560 100755 --- 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"; |