Skip to content

Commit

Permalink
Fix BOOTSTRAP search.
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickbkr authored and PatZim committed Mar 20, 2019
1 parent 2633aad commit aed2923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/ModuleLoader.nqp
Expand Up @@ -50,7 +50,7 @@ class Perl6::ModuleLoader does Perl6::ModuleLoaderVMConfig {
my $*MAIN_CTX;
my $file := 'Perl6/BOOTSTRAP' ~ self.file-extension;

my @prefixes := %language_module_loaders<NQP>.search_path('module-path');
my @prefixes := self.search_path();
for @prefixes -> $prefix {
if nqp::stat("$prefix/$file", 0) {
$file := "$prefix/$file";
Expand Down

0 comments on commit aed2923

Please sign in to comment.