diff options
| -rw-r--r-- | Library/Formula/mobile-shell.rb | 4 | 
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  | 
