We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e192a3 commit ae03590Copy full SHA for ae03590
dist/bin/scala
@@ -31,7 +31,7 @@ source "$PROG_HOME/bin/common"
31
# exec here would prevent onExit from being called, leaving terminal in unusable state
32
compilerJavaClasspathArgs
33
[ -z "${ConEmuPID-}" -o -n "${cygwin-}" ] && export MSYSTEM= PWD= # workaround for #12405
34
-eval "\"$JAVACMD\"" "-classpath \"$jvm_cp_args\"" "dotty.tools.MainGenericRunner" "-classpath \"$jvm_cp_args\"" "$@"
+eval "\"$JAVACMD\"" "-Dscala.home=$PROG_HOME" "-classpath \"$jvm_cp_args\"" "dotty.tools.MainGenericRunner" "-classpath \"$jvm_cp_args\"" "$@"
35
scala_exit_status=$?
36
37
0 commit comments