From a50f8a2004d4797070ef3a7afc11da61c1a62492 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 11 Feb 2012 15:43:10 -0800 Subject: languagetool: fix quoting --- Library/Formula/languagetool.rb | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3