aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 325ec8408..d6dbb7441 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