aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-09 16:21:05 -0700
committerAdam Vandenberg2012-08-09 16:21:05 -0700
commit87bbbc25a06c41cfbacaaa655371dc293d99a964 (patch)
tree7cc02b39ac9cbb709ce8b06cc00e58d9271237ee
parent0061792285ef2ab25540ede03622512331636da4 (diff)
downloadhomebrew-87bbbc25a06c41cfbacaaa655371dc293d99a964.tar.bz2
asciidoc: use options dsl
-rw-r--r--Library/Formula/asciidoc.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/asciidoc.rb b/Library/Formula/asciidoc.rb
index 2ef270010..397cfe90f 100644
--- a/Library/Formula/asciidoc.rb
+++ b/Library/Formula/asciidoc.rb
@@ -7,11 +7,11 @@ class Asciidoc < Formula
head 'https://code.google.com/p/asciidoc/', :using => :hg
- depends_on :autoconf if ARGV.build_head?
+ depends_on :autoconf if build.head?
depends_on 'docbook'
def install
- system "autoconf" if ARGV.build_head?
+ system "autoconf" if build.head?
system "./configure", "--prefix=#{prefix}"
# otherwise OS X's xmllint bails out