aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
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 2b54844fc..fd7aede86 100644
--- a/Library/Homebrew/cmd/install.rb
+++ b/Library/Homebrew/cmd/install.rb
@@ -241,7 +241,7 @@ module Homebrew
end
# Do not search taps if the formula name is qualified
- return if e.name =~ %r{/}
+ return if e.name.include?("/")
ohai "Searching taps..."
taps_search_results = search_taps(query)
case taps_search_results.length