Skip to content

Commit

Permalink
Support RAKUDO_PREFIX env var to be backwards compatible.
Browse files Browse the repository at this point in the history
  • Loading branch information
PatZim committed Mar 20, 2019
1 parent efb35b0 commit 1add622
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/CompUnit/RepositoryRegistry.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ class CompUnit::RepositoryRegistry {
}
}

my str $prefix = nqp::getcurhllsym('$PERL6_HOME');
my str $prefix = nqp::existskey($ENV,'RAKUDO_PREFIX')
?? nqp::atkey($ENV,'RAKUDO_PREFIX')
!! nqp::getcurhllsym('$PERL6_HOME');

# XXX Various issues with this stuff on JVM , TEMPORARY
my str $home;
Expand Down

0 comments on commit 1add622

Please sign in to comment.