Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Tweak install layout for the JVM
  • Loading branch information
moritz committed Mar 16, 2015
1 parent 7920c16 commit 1c58dd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tools/build/Makefile-JVM.in
Expand Up @@ -8,7 +8,7 @@ NQP_PREFIX = @nqp_prefix@

J_BUILD_DIR = gen/jvm

PERL6_LANG_DIR = $(PREFIX)/languages/perl6
PERL6_LANG_DIR = $(PREFIX)/share/perl6

NQP_JARS = @nqp_jars@

Expand Down
6 changes: 3 additions & 3 deletions tools/build/create-jvm-runner.pl
Expand Up @@ -28,9 +28,9 @@
my $postamble = $^O eq 'MSWin32' ? ' %*' : ' "$@"';

my $bindir = $type eq 'install' ? File::Spec->catfile($prefix, 'bin') : $prefix;
my $jardir = $type eq 'install' ? File::Spec->catfile($prefix, 'languages', 'perl6', 'runtime') : $prefix;
my $libdir = $type eq 'install' ? File::Spec->catfile($prefix, 'languages', 'perl6', 'lib') : 'blib';
my $nqplibdir = File::Spec->catfile($nqpprefix, 'languages', 'nqp', 'lib');
my $jardir = $type eq 'install' ? File::Spec->catfile($prefix, 'share', 'perl6', 'runtime') : $prefix;
my $libdir = $type eq 'install' ? File::Spec->catfile($prefix, 'share', 'perl6', 'lib') : 'blib';
my $nqplibdir = File::Spec->catfile($nqpprefix, 'share', 'nqp', 'lib');

sub install {
my ($name, $command) = @_;
Expand Down

0 comments on commit 1c58dd2

Please sign in to comment.