aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/midgard2.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/midgard2.rb b/Library/Formula/midgard2.rb
index ac5ff1f75..b3e18ee49 100644
--- a/Library/Formula/midgard2.rb
+++ b/Library/Formula/midgard2.rb
@@ -12,13 +12,13 @@ class Midgard2 < Formula
depends_on 'dbus-glib'
depends_on 'libgda'
- if ARGV.build_head?
+ if build.head?
depends_on :automake
depends_on :libtool
end
def install
- if ARGV.build_head?
+ if build.head?
system "autoreconf", "-i", "--force"
system "automake"
end