aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mobile-shell.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-09-05 20:59:43 -0700
committerAdam Vandenberg2012-09-05 20:59:43 -0700
commite0d67836fc119598c5c75178117f132796d0f51b (patch)
treeb932b174962f253a2b824e3c78c7f452c76b077b /Library/Formula/mobile-shell.rb
parenta810c94b7c53f2049d3d9a4ba086485c80bb9ee0 (diff)
downloadhomebrew-e0d67836fc119598c5c75178117f132796d0f51b.tar.bz2
mobile-shell: use new dsl
Diffstat (limited to 'Library/Formula/mobile-shell.rb')
-rw-r--r--Library/Formula/mobile-shell.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/mobile-shell.rb b/Library/Formula/mobile-shell.rb
index 3b321a88a..bafd9148c 100644
--- a/Library/Formula/mobile-shell.rb
+++ b/Library/Formula/mobile-shell.rb
@@ -9,12 +9,12 @@ class MobileShell < Formula
# Needs new autoconf for correct AC_C_RESTRICT macro
# See: https://github.com/keithw/mosh/issues/241
- depends_on 'autoconf' => :build if ARGV.build_head?
+ depends_on 'autoconf' => :build if build.head?
depends_on 'pkg-config' => :build
depends_on 'protobuf'
def install
- system "./autogen.sh" if ARGV.build_head?
+ system "./autogen.sh" if build.head?
# Upstream prefers O2:
# https://github.com/keithw/mosh/blob/master/README.md