Skip to content

Commit

Permalink
expand classpath of pathing jars in scala_legacy command (#21160)
Browse files Browse the repository at this point in the history
I think it still be best to delete the command, but we should ensure it
works if we're going to ship it

this should have been part of #21121
  • Loading branch information
hamzaremmal authored Jul 10, 2024
2 parents e5ac6c5 + 22dce18 commit 466676c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/bin/scala_legacy
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ done
# 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\"" "${java_args[@]}" "-Dscala.home=\"$PROG_HOME\"" "-classpath \"$jvm_cp_args\"" "dotty.tools.MainGenericRunner" "-classpath \"$jvm_cp_args\"" "${scala_args[@]}"
eval "\"$JAVACMD\"" "${java_args[@]}" "-Dscala.home=\"$PROG_HOME\"" "-classpath \"$jvm_cp_args\"" "-Dscala.expandjavacp=true" "dotty.tools.MainGenericRunner" "-classpath \"$jvm_cp_args\"" "${scala_args[@]}"
scala_exit_status=$?


Expand Down

0 comments on commit 466676c

Please sign in to comment.