Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
actually remove . from @*INC
  • Loading branch information
moritz committed May 8, 2012
1 parent b09c6f8 commit 632b1f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/terms.pm
Expand Up @@ -70,7 +70,7 @@ sub term:<time>() { nqp::p6box_i(pir::time__I()) }
@INC.push((%ENV<HOME> // %ENV<HOMEDRIVE> ~ %ENV<HOMEPATH>) ~ '/.perl6/lib');
}
@INC.push($VM<config><libdir> ~ $VM<config><versiondir> ~ '/languages/perl6/lib');
@INC.push('.'); # XXX: remove this when 'use lib' works fine

my $I := nqp::atkey(nqp::atkey(%*COMPILING, '%?OPTIONS'), 'I');
if pir::defined($I) {
if pir::does($I, 'array') {
Expand Down

0 comments on commit 632b1f9

Please sign in to comment.