java_home -> overridable_java_home_env
Closes #60851. Signed-off-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>master
parent
d6ee307f82
commit
dca25827bb
|
@ -22,7 +22,7 @@ class SbtAT013 < Formula
|
|||
|
||||
(bin/"sbt").write <<~EOS
|
||||
#!/bin/sh
|
||||
export JAVA_HOME="#{Language::Java.java_home("1.8")}"
|
||||
export JAVA_HOME="#{Language::Java.overridable_java_home_env("1.8")[:JAVA_HOME]}"
|
||||
if [ -f "$HOME/.sbtconfig" ]; then
|
||||
echo "Use of ~/.sbtconfig is deprecated, please migrate global settings to #{etc}/sbtopts" >&2
|
||||
. "$HOME/.sbtconfig"
|
||||
|
|
Loading…
Reference in New Issue