8000
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 e8d8133 commit e2b24d1Copy full SHA for e2b24d1
Formula/sbuild.rb
@@ -3,6 +3,7 @@ class Sbuild < Formula
3
homepage "http://sbuild.org"
4
url "http://sbuild.org/uploads/sbuild/0.7.7/sbuild-0.7.7-dist.zip"
5
sha256 "606bc09603707f31d9ca5bc306ba01b171f8400e643261acd28da7a1a24dfb23"
6
+ license "Apache-2.0"
7
revision 1
8
9
bottle :unneeded
@@ -12,8 +13,7 @@ class Sbuild < Formula
12
13
def install
14
libexec.install Dir["*"]
15
chmod 0755, libexec/"bin/sbuild"
- (bin/"sbuild").write_env_script libexec/"bin/sbuild",
16
- JAVA_HOME: "${JAVA_HOME:-#{Formula["openjdk"].opt_prefix}}"
+ (bin/"sbuild").write_env_script libexec/"bin/sbuild", Language::Java.overridable_java_home_env
17
end
18
19
test do
0 commit comments