Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use $*VM.prefix instead of hacking it
  • Loading branch information
lizmat committed May 31, 2014
1 parent 4cccc43 commit ce6acf7
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/core/Inc.pm
Expand Up @@ -57,18 +57,7 @@
}
#?endif

my $prefix :=
#?if jvm
$*VM.properties<perl6.prefix>
#?endif
#?if parrot
$*VM.config<libdir> ~ $*VM.config<versiondir>
#?endif
#?if moar
$*VM.config<prefix>
#?endif
~ '/languages/perl6';

my $prefix := $*VM.prefix ~ '/languages/perl6';
if "$prefix/share/libraries.json".IO.e {
my $config = "$prefix/share/libraries.json".IO.e ?? from-json( slurp "$prefix/share/libraries.json" ) !! [];

Expand Down

0 comments on commit ce6acf7

Please sign in to comment.