sbt@0.13: fix how we get the Java home
parent
4d31e40521
commit
d6ee307f82
|
@ -22,7 +22,7 @@ class SbtAT013 < Formula
|
|||
|
||||
(bin/"sbt").write <<~EOS
|
||||
#!/bin/sh
|
||||
export JAVA_HOME=$(#{Language::Java.java_home_cmd("1.8")})
|
||||
export JAVA_HOME="#{Language::Java.java_home("1.8")}"
|
||||
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