Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix JVM runner generation on Windows.
%CLASSPATH% may end up with spaces in, and also needs the correct
separator.
  • Loading branch information
jnthn committed Feb 28, 2015
1 parent 631219a commit ac026be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/build/create-jvm-runner.pl
Expand Up @@ -54,7 +54,7 @@ sub install {

my $classpath = join($cpsep, ($jardir, $libdir, $nqplibdir));
my $jopts = '-noverify -Xms100m -Xbootclasspath/a:' . $bootclasspath
. ' -cp ' . ($^O eq 'MSWin32' ? '%CLASSPATH%' : '$CLASSPATH') . ":" . $classpath
. ' -cp ' . ($^O eq 'MSWin32' ? '"%CLASSPATH%";' : '$CLASSPATH:') . $classpath
. ' -Dperl6.prefix=' . $prefix
. ($^O eq 'MSWin32' ? ' -Dperl6.execname="%~dpf0"' : ' -Dperl6.execname="$0"');

Expand Down

0 comments on commit ac026be

Please sign in to comment.