Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adjust install dirs on the JVM
  • Loading branch information
moritz committed Mar 16, 2015
1 parent 8564111 commit 216b72e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tools/build/gen-jvm-properties.pl
Expand Up @@ -16,8 +16,8 @@
my $libdir = ".";

if ($prefix ne '.') {
$jardir = "${prefix}/languages/nqp/runtime";
$libdir = "${prefix}/languages/nqp/lib";
$jardir = "${prefix}/share/nqp/runtime";
$libdir = "${prefix}/share/nqp/lib";
my @jars = grep { s/^.*\/// } split($cpsep, $thirdPartyJars);
$thirdPartyJars = join($cpsep, grep { s/^/${jardir}\// } @jars);
}
Expand Down
4 changes: 2 additions & 2 deletions tools/build/install-jvm-runner.pl
Expand Up @@ -13,8 +13,8 @@
$prefix = File::Spec->rel2abs($prefix);
}

my $jar_dir = File::Spec->catfile($prefix, 'languages', 'nqp', 'runtime');
my $lib_dir = File::Spec->catfile($prefix, 'languages', 'nqp', 'lib');
my $jar_dir = File::Spec->catfile($prefix, 'share', 'nqp', 'runtime');
my $lib_dir = File::Spec->catfile($prefix, 'share', 'nqp', 'lib');

if ($^O eq 'MSWin32') {
my $install_to = File::Spec->catfile($realpath, 'bin', 'nqp-j.bat');
Expand Down

0 comments on commit 216b72e

Please sign in to comment.