diff options
| author | Mike McQuaid | 2013-10-21 04:25:24 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-10-21 18:53:24 +0100 |
| commit | c71492561ffa9089496ed4c3a9141a0a7c59c6ec (patch) | |
| tree | f7186c6f102eec1d4bc52d28a8907f640b883dca /Library | |
| parent | 077f09e4ea7cabef9f3dd7212e5ccdfff1e5001d (diff) | |
| download | brew-c71492561ffa9089496ed4c3a9141a0a7c59c6ec.tar.bz2 | |
install: tap if full tap formula format given.
Closes Homebrew/homebrew#23411.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
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 2fe22cfa4..b38a47899 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -16,6 +16,10 @@ module Homebrew extend self msg = blacklisted? name raise "No available formula for #{name}\n#{msg}" if msg end + if name =~ HOMEBREW_TAP_REGEX then + require 'cmd/tap' + install_tap $1, $2 + end end unless ARGV.force? perform_preinstall_checks |
