aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/epubcheck.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/epubcheck.rb b/Library/Formula/epubcheck.rb
index 649d75ddb..e75c2c402 100644
--- a/Library/Formula/epubcheck.rb
+++ b/Library/Formula/epubcheck.rb
@@ -11,7 +11,7 @@ class Epubcheck < Formula
end
def install
- if ARGV.build_devel?
+ if build.devel?
libexec.install "epubcheck-3.0b5.jar", "lib"
(bin/'epubcheck').write <<-EOS.undent
#!/bin/sh
@@ -37,4 +37,4 @@ class Epubcheck < Formula
No errors or warnings detected
EOS
end
-end \ No newline at end of file
+end