Skip to content

Commit

Permalink
[JVM] Remove old workaround (no longer needed)
Browse files Browse the repository at this point in the history
  • Loading branch information
usev6 committed Mar 18, 2020
1 parent f6f8ac0 commit 25a1929
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions src/core.c/CompUnit/RepositoryRegistry.pm6
Expand Up @@ -139,23 +139,17 @@ class CompUnit::RepositoryRegistry {

my str $home;
my str $home-spec;
#?if jvm
# XXX Various issues with this stuff on JVM , TEMPORARY
try {
#?endif
if nqp::ifnull(
nqp::atkey($ENV,'HOME'),
nqp::concat(
nqp::ifnull(nqp::atkey($ENV,'HOMEDRIVE'),''),
nqp::ifnull(nqp::atkey($ENV,'HOMEPATH'),'')
)
) -> $home-path {
$home = $home-path ~ $sep ~ '.raku';
$home-spec = 'inst#' ~ $home;
}
#?if jvm

if nqp::ifnull(
nqp::atkey($ENV,'HOME'),
nqp::concat(
nqp::ifnull(nqp::atkey($ENV,'HOMEDRIVE'),''),
nqp::ifnull(nqp::atkey($ENV,'HOMEPATH'),'')
)
) -> $home-path {
$home = $home-path ~ $sep ~ '.raku';
$home-spec = 'inst#' ~ $home;
}
#?endif

unless $precomp-specs {
nqp::bindkey($custom-lib,'core',
Expand Down

0 comments on commit 25a1929

Please sign in to comment.