aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-26 22:22:07 -0700
committerAdam Vandenberg2012-08-26 22:22:07 -0700
commite5725d43338122ee96381aa7bd4692ccf7b906ba (patch)
tree365aa7271ccd3a09d34b09d0594f6c4cf160c4c9 /Library/Formula
parent1dbf22ecd69fc55eae239e96ac04fbd5e53b6287 (diff)
downloadhomebrew-e5725d43338122ee96381aa7bd4692ccf7b906ba.tar.bz2
dash: use new dsl
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/dash.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/dash.rb b/Library/Formula/dash.rb
index 7bad1f577..3ce063ca9 100644
--- a/Library/Formula/dash.rb
+++ b/Library/Formula/dash.rb
@@ -7,10 +7,10 @@ class Dash < Formula
head 'https://git.kernel.org/pub/scm/utils/dash/dash.git'
- depends_on :automake if ARGV.build_head?
+ depends_on :automake if build.head?
def install
- if ARGV.build_head?
+ if build.head?
system "aclocal"
system "autoreconf -f -i -Wall,no-obsolete"
end