aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/go.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-09-03 12:31:06 -0700
committerAdam Vandenberg2012-09-03 12:31:06 -0700
commit95d2904f217d2f586664b981a18367e2a9a44a35 (patch)
treeecdb32d25b96beea8398470547be662ecf63d0dc /Library/Formula/go.rb
parent7bf640b7b9a4fc49b2e55a18237eea1bba0bfdb8 (diff)
downloadhomebrew-95d2904f217d2f586664b981a18367e2a9a44a35.tar.bz2
go: use new dsl
Diffstat (limited to 'Library/Formula/go.rb')
-rw-r--r--Library/Formula/go.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/go.rb b/Library/Formula/go.rb
index fe7dc0cfa..86c7ee1be 100644
--- a/Library/Formula/go.rb
+++ b/Library/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