diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/languagetool.rb | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/Library/Formula/languagetool.rb b/Library/Formula/languagetool.rb index 54ea102e3..f7b4f6c2a 100644 --- a/Library/Formula/languagetool.rb +++ b/Library/Formula/languagetool.rb @@ -1,19 +1,16 @@ require 'formula' class Languagetool < Formula - url 'http://www.languagetool.org/download/LanguageTool-1.3.1.oxt' homepage 'http://www.languagetool.org/' + url 'http://www.languagetool.org/download/LanguageTool-1.3.1.oxt' md5 '9bf13c617eba946fd6b44562cbc90d42' - def startup_script - <<-EOS -#!/bin/bash -java -jar #{libexec}/LanguageTool.jar $* -EOS - end - def install - (bin+"languagetool").write startup_script + (bin+"languagetool").write <<-EOS.undent + #!/bin/bash + java -jar "#{libexec}/LanguageTool.jar" "$@" + EOS + libexec.install Dir["*"] end end |
