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 4671cee commit 1fc2e0eCopy full SHA for 1fc2e0e
Formula/d/ditaa.rb
@@ -15,10 +15,7 @@ class Ditaa < Formula
15
16
def install
17
libexec.install "ditaa-#{version}-standalone.jar"
18
- (bin/"ditaa").write <<~BASH
19
- #!/bin/bash
20
- exec "#{Formula["openjdk"].opt_bin}/java" -jar "#{libexec}/ditaa-#{version}-standalone.jar" "$@"
21
- BASH
+ bin.write_jar_script libexec/"ditaa-#{version}-standalone.jar", "ditaa"
22
end
23
24
test do
0 commit comments