Skip to content

Commit

Permalink
Use build_head here too.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamv committed Jul 18, 2010
1 parent b212278 commit 3726f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/formula.rb
Expand Up @@ -78,7 +78,7 @@ def initialize name='__UNKNOWN__'
set_instance_variable 'head'
set_instance_variable 'specs'

if @head and (not @url or ARGV.flag? '--HEAD')
if @head and (not @url or ARGV.build_head?)
@url=@head
@version='HEAD'
end
Expand Down

0 comments on commit 3726f8d

Please sign in to comment.