aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/install.rb
diff options
context:
space:
mode:
authorMike McQuaid2013-10-21 04:25:24 +0100
committerMike McQuaid2013-10-21 18:53:24 +0100
commite475c43d775258ee38bf55a979f938e5e49d9132 (patch)
tree1729d84af2f7072eacd969e353af34155b9cde1f /Library/Homebrew/cmd/install.rb
parent32e42e064d678b97c8676dd2cbb3e22f305c5789 (diff)
downloadhomebrew-e475c43d775258ee38bf55a979f938e5e49d9132.tar.bz2
install: tap if full tap formula format given.
Closes #23411. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/cmd/install.rb')
-rw-r--r--Library/Homebrew/cmd/install.rb4
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