Skip to content
This repository
Browse code

go: fix-up HEAD install

  • Loading branch information...
commit 112e1557385a5ee33118aff22e3365fc3f795b67 1 parent f517df9
Bart Leusink authored February 24, 2012 adamv committed February 25, 2012

Showing 1 changed file with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. 6  Library/Formula/go.rb
6  Library/Formula/go.rb
@@ -22,7 +22,11 @@ def install
22 22
     prefix.install %w[src include test doc misc lib favicon.ico AUTHORS]
23 23
     cd prefix do
24 24
       mkdir %w[pkg bin]
25  
-      File.open('VERSION', 'w') {|f| f.write('release.r60.3 9516') }
  25
+
  26
+      # The version check is due to:
  27
+      # http://codereview.appspot.com/5654068
  28
+      version = ARGV.build_head? ? 'default' : 'release.r60.3 9516'
  29
+      File.open('VERSION', 'w') {|f| f.write(version) }
26 30
 
27 31
       # Tests take a very long time to run. Build only
28 32
       cd 'src' do

0 notes on commit 112e155

Please sign in to comment.
Something went wrong with that request. Please try again.