Skip to content

Commit

Permalink
Merge pull request scala#13759 from philwalk/set-system-property-scal…
Browse files Browse the repository at this point in the history
…a.home

provide scala.home setting for scripts - fix for scala#13758
  • Loading branch information
BarkingBad authored Oct 18, 2021
2 parents 54ff628 + ae03590 commit adfe16c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/bin/scala
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ source "$PROG_HOME/bin/common"
# exec here would prevent onExit from being called, leaving terminal in unusable state
compilerJavaClasspathArgs
[ -z "${ConEmuPID-}" -o -n "${cygwin-}" ] && export MSYSTEM= PWD= # workaround for #12405
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\"" "$@"
scala_exit_status=$?


Expand Down

0 comments on commit adfe16c

Please sign in to comment.