diff --git a/Formula/go.rb b/Formula/go.rb index fe7dc0cfa0..86c7ee1be1 100644 --- a/Formula/go.rb +++ b/Formula/go.rb @@ -19,7 +19,7 @@ class Go < Formula cd prefix do # The version check is due to: # http://codereview.appspot.com/5654068 - (prefix/'VERSION').write 'default' if ARGV.build_head? + (prefix/'VERSION').write 'default' if build.head? # Build only. Run `brew test go` to run distrib's tests. cd 'src' do