diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/install.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index b01866958..ad5420df1 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -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" |
