Skip to content
Permalink
Browse files

Support RAKUDO_PREFIX env var to be backwards compatible.

  • Loading branch information...
patzim committed Feb 20, 2019
1 parent efb35b0 commit 1add622dcb7f2bf8d7e6c49f9e2a86dadbe4471d
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/core/CompUnit/RepositoryRegistry.pm6
@@ -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;

0 comments on commit 1add622

Please sign in to comment.
You can’t perform that action at this time.