diff options
| -rw-r--r-- | Library/Formula/epubcheck.rb | 8 |
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 |
