Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

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
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]
-'VERSION', 'w') {|f| f.write('release.r60.3 9516') }
+ # The version check is due to:
+ #
+ version = ARGV.build_head? ? 'default' : 'release.r60.3 9516'
+'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.