install: fix trying to tap local bottles.

This commit is contained in:
Mike McQuaid 2013-10-21 19:48:48 +01:00
parent c71492561f
commit 0055e4dc5f

View File

@ -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