diff options
| author | Adam Vandenberg | 2013-08-14 21:45:29 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-08-14 21:45:57 -0700 |
| commit | cc5e78b55fcc0e9f64b858939c1a37eff9d785fc (patch) | |
| tree | b9c5e01470917ad30069c6a0e495068ef6d3c692 /Library/Formula | |
| parent | a600bca9e9bd9d698f6a08cf0b58f571d4b6fee0 (diff) | |
| download | homebrew-cc5e78b55fcc0e9f64b858939c1a37eff9d785fc.tar.bz2 | |
go: use buildpath
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/go.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/go.rb b/Library/Formula/go.rb index 7188beb4c..a535eb5e5 100644 --- a/Library/Formula/go.rb +++ b/Library/Formula/go.rb @@ -53,7 +53,7 @@ class Go < Formula # The version check is due to: # http://codereview.appspot.com/5654068 - Pathname.new('VERSION').write 'default' if build.head? + (buildpath/'VERSION').write('default') if build.head? cd 'src' do targets.each do |os, archs, opts| @@ -67,7 +67,7 @@ class Go < Formula end end - Pathname.new('pkg/obj').rmtree + (buidpath/'pkg/obj').rmtree # Don't install header files; they aren't necessary and can # cause problems with other builds. |
