Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

go: fix-up HEAD install

  • Loading branch information...
commit 112e1557385a5ee33118aff22e3365fc3f795b67 1 parent f517df9
@bartleusink bartleusink authored adamv committed
Showing with 5 additions and 1 deletion.
  1. +5 −1 Library/Formula/go.rb
View
6 Library/Formula/go.rb
@@ -22,7 +22,11 @@ def install
prefix.install %w[src include test doc misc lib favicon.ico AUTHORS]
cd prefix do
mkdir %w[pkg bin]
- File.open('VERSION', 'w') {|f| f.write('release.r60.3 9516') }
+
+ # The version check is due to:
+ # http://codereview.appspot.com/5654068
+ version = ARGV.build_head? ? 'default' : 'release.r60.3 9516'
+ File.open('VERSION', 'w') {|f| f.write(version) }
# Tests take a very long time to run. Build only
cd 'src' do
Please sign in to comment.
Something went wrong with that request. Please try again.