10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd40cb4 commit 9f6e4e2Copy full SHA for 9f6e4e2
Formula/spotbugs.rb
@@ -3,7 +3,7 @@ class Spotbugs < Formula
3
homepage "https://spotbugs.github.io/"
4
url "https://repo.maven.apache.org/maven2/com/github/spotbugs/spotbugs/4.1.2/spotbugs-4.1.2.tgz"
5
sha256 "575dd1aa4b25b0a5f9766c35ee6ca1d40a3bec8ad02f9f7bb3037f467c60c76f"
6
- license "LGPL-2.1"
+ license "LGPL-2.1-or-later"
7
8
head do
9
url "https://github.com/spotbugs/spotbugs.git"
@@ -25,8 +25,7 @@ def install
25
libexec.install Dir["*"]
26
chmod 0755, "#{libexec}/bin/spotbugs"
27
end
28
- (bin/"spotbugs").write_env_script "#{libexec}/bin/spotbugs",
29
- JAVA_HOME: "${JAVA_HOME:-#{Formula["openjdk"].opt_prefix}}"
+ (bin/"spotbugs").write_env_script "#{libexec}/bin/spotbugs", Language::Java.overridable_java_home_env
30
31
32
test do
0 commit comments