Skip to content

Commit

Permalink
Fix JAVA_TOOL_OPTIONS in launcher for linux/mac
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrdom authored and eed3si9n committed Oct 22, 2023
1 parent 01ce348 commit e64f053
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sbt
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,7 @@ run() {
execRunner "$java_cmd" \
"${java_args[@]}" \
"${sbt_options[@]}" \
"${java_tool_options[@]}" \
-jar "$sbt_jar" \
"${sbt_commands[@]}" \
"${residual_args[@]}"
Expand Down Expand Up @@ -785,6 +786,7 @@ original_args=("$@")

java_args=($JAVA_OPTS)
sbt_options0=(${SBT_OPTS:-$default_sbt_opts})
java_tool_options=($JAVA_TOOL_OPTIONS)
if [[ "$SBT_NATIVE_CLIENT" == "true" ]]; then
use_sbtn=1
fi
Expand Down

0 comments on commit e64f053

Please sign in to comment.