aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/install.rb
diff options
context:
space:
mode:
authorMike McQuaid2013-10-21 19:48:48 +0100
committerMike McQuaid2013-10-21 19:49:09 +0100
commitf612a4f75fbe7db23e2e48811edcbf7dcf67bd37 (patch)
treef1699b3f21600306bc76084059430154df3b2844 /Library/Homebrew/cmd/install.rb
parentdf4bf7203ea11ddf491867052375dbbeb53af773 (diff)
downloadhomebrew-f612a4f75fbe7db23e2e48811edcbf7dcf67bd37.tar.bz2
install: fix trying to tap local bottles.
Diffstat (limited to 'Library/Homebrew/cmd/install.rb')
-rw-r--r--Library/Homebrew/cmd/install.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb
index b38a47899..b77121a19 100644
--- a/Library/Homebrew/cmd/install.rb
+++ b/Library/Homebrew/cmd/install.rb
@@ -16,7 +16,7 @@ module Homebrew extend self
msg = blacklisted? name
raise "No available formula for #{name}\n#{msg}" if msg
end
- if name =~ HOMEBREW_TAP_REGEX then
+ if not File.exist? name and name =~ HOMEBREW_TAP_REGEX then
require 'cmd/tap'
install_tap $1, $2
end