aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2012-05-08 01:10:05 -0500
committerJack Nagel2012-05-08 01:15:12 -0500
commita82d5d9e64a042ce1672021fa2ca663a08718ad4 (patch)
tree7616380cbe98edc35649eeaacffe302b3dd2bde4 /Library/Formula
parent0bbd8e3b55fc640a0a66f3c76fd6759c7d00c120 (diff)
downloadhomebrew-a82d5d9e64a042ce1672021fa2ca663a08718ad4.tar.bz2
go: use prefix instead of Pathname.pwd
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
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