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 1fc2e0e commit 597c4a0Copy full SHA for 597c4a0
Formula/p/picard-tools.rb
@@ -18,10 +18,7 @@ class PicardTools < Formula
18
19
def install
20
libexec.install "picard.jar"
21
- (bin/"picard").write <<~EOS
22
- #!/bin/bash
23
- exec "#{Formula["openjdk"].opt_bin}/java" $JAVA_OPTS -jar "#{libexec}/picard.jar" "$@"
24
- EOS
+ bin.write_jar_script libexec/"picard.jar", "picard", "$JAVA_OPTS"
25
end
26
27
test do
0 commit comments