diff options
| author | Adam Vandenberg | 2010-07-18 09:20:47 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-07-18 10:44:31 -0700 |
| commit | 826ab8be71a7e3d5acbfed0f3ea4a6cd3498f6eb (patch) | |
| tree | c4785696c1bd8778e9992e1212fc422006604eee | |
| parent | 21c37fbac6b94afd44da4ce0b0fc1599b8165fde (diff) | |
| download | brew-826ab8be71a7e3d5acbfed0f3ea4a6cd3498f6eb.tar.bz2 | |
Use build_head here too.
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 |
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 |
