diff options
| author | Mike McQuaid | 2017-04-17 15:48:52 +0100 |
|---|---|---|
| committer | GitHub | 2017-04-17 15:48:52 +0100 |
| commit | 226c24aea01a5d7b42d33671222f94d6eb4d5df1 (patch) | |
| tree | 4eff529eda5a987ef595612da24a8a7d15bf9e6f /Library | |
| parent | d950573f798d8a12545e78d2800b4b07a5c4c097 (diff) | |
| parent | 3b14aa2e90b63e6a694b985653268a1643fb6f14 (diff) | |
| download | brew-226c24aea01a5d7b42d33671222f94d6eb4d5df1.tar.bz2 | |
Merge pull request #2498 from zmwangx/do-not-search-taps-for-missing-qualified-formula
install: do not search taps when a qualified formula is missing
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/install.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 1808c4d9c..fd7aede86 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -240,6 +240,8 @@ module Homebrew puts "To install one of them, run (for example):\n brew install #{formulae_search_results.first}" end + # Do not search taps if the formula name is qualified + return if e.name.include?("/") ohai "Searching taps..." taps_search_results = search_taps(query) case taps_search_results.length |
