aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-11 15:43:10 -0800
committerAdam Vandenberg2012-02-11 15:43:10 -0800
commita50f8a2004d4797070ef3a7afc11da61c1a62492 (patch)
treea1e6e30352c02ad3cda76d16777d6a65e0d31f59 /Library/Formula
parentba1453998387357155c0910940e0059d18f7dc5a (diff)
downloadhomebrew-a50f8a2004d4797070ef3a7afc11da61c1a62492.tar.bz2
languagetool: fix quoting
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/languagetool.rb15
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