aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2013-10-21 04:25:24 +0100
committerMike McQuaid2013-10-21 18:53:24 +0100
commitc71492561ffa9089496ed4c3a9141a0a7c59c6ec (patch)
treef7186c6f102eec1d4bc52d28a8907f640b883dca /Library
parent077f09e4ea7cabef9f3dd7212e5ccdfff1e5001d (diff)
downloadbrew-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.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