Error out on lowercase --head parameter to install.
Fixes Homebrew/homebrew#14815.
This commit is contained in:
parent
6762780f3e
commit
5e212a76e3
@ -6,6 +6,10 @@ module Homebrew extend self
|
||||
def install
|
||||
raise FormulaUnspecifiedError if ARGV.named.empty?
|
||||
|
||||
if ARGV.include? '--head'
|
||||
raise "Specify `--HEAD` in uppercase to build from trunk."
|
||||
end
|
||||
|
||||
ARGV.named.each do |name|
|
||||
# if a formula has been tapped ignore the blacklisting
|
||||
if not File.file? HOMEBREW_REPOSITORY/"Library/Formula/#{name}.rb"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user