From 826ab8be71a7e3d5acbfed0f3ea4a6cd3498f6eb Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 18 Jul 2010 09:20:47 -0700 Subject: [PATCH] Use build_head here too. --- Library/Homebrew/formula.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 325ec8408c..d6dbb74411 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -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