aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2013-10-21 19:48:48 +0100
committerMike McQuaid2013-10-21 19:49:09 +0100
commit0055e4dc5f1d49838ecc45b4bfe48a0eab529443 (patch)
tree967bf9515ea6378b697d7543d9786bd929837b58 /Library
parentc71492561ffa9089496ed4c3a9141a0a7c59c6ec (diff)
downloadbrew-0055e4dc5f1d49838ecc45b4bfe48a0eab529443.tar.bz2
install: fix trying to tap local bottles.
Diffstat (limited to 'Library')
-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