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 d5e6a37 commit 4671ceeCopy full SHA for 4671cee
Formula/b/bfg.rb
@@ -18,10 +18,7 @@ class Bfg < Formula
18
19
def install
20
libexec.install "bfg-#{version}.jar"
21
- (bin/"bfg").write <<~SHELL
22
- #!/bin/bash
23
- exec "#{Formula["openjdk"].opt_bin}/java" -jar "#{libexec}/bfg-#{version}.jar" "$@"
24
- SHELL
+ bin.write_jar_script libexec/"bfg-#{version}.jar", "bfg"
25
end
26
27
test do
0 commit comments