diff options
| author | Mike McQuaid | 2015-04-09 09:00:18 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-04-09 09:00:18 +0100 |
| commit | 63d8bcd314fea7391e0a059415a4582865b3eb2f (patch) | |
| tree | 2a6f66831d5f0570e1445860f9f58b11ef1dcc9b | |
| parent | 6b41f38b693db27c49aa8f14e4c5975faf71d188 (diff) | |
| download | brew-63d8bcd314fea7391e0a059415a4582865b3eb2f.tar.bz2 | |
tap: better match install format.
| -rw-r--r-- | Library/Homebrew/cmd/tap.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/tap.rb b/Library/Homebrew/cmd/tap.rb index f69b5d092..34db5a9e4 100644 --- a/Library/Homebrew/cmd/tap.rb +++ b/Library/Homebrew/cmd/tap.rb @@ -19,12 +19,13 @@ module Homebrew # we downcase to avoid case-insensitive filesystem issues tapd = HOMEBREW_LIBRARY/"Taps/#{user.downcase}/homebrew-#{repo.downcase}" return false if tapd.directory? + ohai "Tapping #{repouser}/#{repo}" abort unless system "git", "clone", "https://github.com/#{repouser}/homebrew-#{repo}", tapd.to_s files = [] tapd.find_formula { |file| files << file } link_tap_formula(files) - puts "Tapped #{files.length} formula#{plural(files.length, 'e')}" + puts "Tapped #{files.length} formula#{plural(files.length, 'e')} (#{tapd.abv})" if private_tap?(repouser, repo) then puts <<-EOS.undent It looks like you tapped a private repository. To avoid entering your |
