Use build_head here too.

This commit is contained in:
Adam Vandenberg 2010-07-18 09:20:47 -07:00
parent 21c37fbac6
commit 826ab8be71

View File

@ -78,7 +78,7 @@ class Formula
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