aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/epubcheck.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-06-27 08:37:14 -0700
committerAdam Vandenberg2012-06-27 08:37:14 -0700
commit9fee38b0c93c6560f50f903f9ec5e873ce59241d (patch)
treee066f10ed7076226d3242b95a405f2f5c2cea524 /Library/Formula/epubcheck.rb
parent131fa4e7def1a7fe1047c3610cf24a97122f5ba0 (diff)
downloadhomebrew-9fee38b0c93c6560f50f903f9ec5e873ce59241d.tar.bz2
epubcheck: style nits
Diffstat (limited to 'Library/Formula/epubcheck.rb')
-rw-r--r--Library/Formula/epubcheck.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/epubcheck.rb b/Library/Formula/epubcheck.rb
index 04eeb190a..dbf025f67 100644
--- a/Library/Formula/epubcheck.rb
+++ b/Library/Formula/epubcheck.rb
@@ -1,15 +1,15 @@
require 'formula'
class Epubcheck < Formula
- url 'http://epubcheck.googlecode.com/files/epubcheck-1.2.zip'
homepage 'http://code.google.com/p/epubcheck/'
+ url 'http://epubcheck.googlecode.com/files/epubcheck-1.2.zip'
sha1 '86036eadad8408070791b3da368958239ed8a410'
def install
- libexec.install Dir["epubcheck-1.2.jar", "lib"]
- (bin+'epubcheck').write <<-EOS.undent
+ libexec.install "epubcheck-1.2.jar", "lib"
+ (bin/'epubcheck').write <<-EOS.undent
#!/bin/sh
- java -jar "#{libexec}/epubcheck-1.2.jar" "$1"
+ java -jar "#{libexec}/epubcheck-1.2.jar" "$@"
EOS
end