diff --git a/Formula/opus-tools.rb b/Formula/opus-tools.rb index 180d315472..bf1110ea12 100644 --- a/Formula/opus-tools.rb +++ b/Formula/opus-tools.rb @@ -7,7 +7,7 @@ class OpusTools < Formula head 'https://git.xiph.org/opus-tools.git' - if ARGV.build_head? + if build.head? depends_on :automake depends_on :libtool end @@ -17,7 +17,7 @@ class OpusTools < Formula depends_on 'libogg' def install - system "./autogen.sh" if ARGV.build_head? + system "./autogen.sh" if build.head? system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install"