aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-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 2e7fdc94b..f133be734 100644
--- a/Library/Formula/go.rb
+++ b/Library/Formula/go.rb
@@ -16,7 +16,7 @@ class Go < Formula
cd prefix do
# The version check is due to:
# http://codereview.appspot.com/5654068
- (Pathname.pwd+'VERSION').write 'default' if ARGV.build_head?
+ (prefix/'VERSION').write 'default' if ARGV.build_head?
# Build only. Run `brew test go` to run distrib's tests.
cd 'src' do