diff options
| author | Jack Nagel | 2014-09-19 18:22:48 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-09-19 18:22:48 -0500 |
| commit | d6bceebeca1fa87654d743a384347ff7286fd206 (patch) | |
| tree | b6c72788c2160a32984965fa76b320e6612ef989 /Library/Homebrew/cmd | |
| parent | 202a8bd29e297310cc3e18a3f4870cd0e0df9f98 (diff) | |
| download | brew-d6bceebeca1fa87654d743a384347ff7286fd206.tar.bz2 | |
Clarify "could not tap" warning
Closes Homebrew/homebrew#31451.
Closes Homebrew/homebrew#32223.
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/tap.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/tap.rb b/Library/Homebrew/cmd/tap.rb index c3fb1ed5e..149bf52e0 100644 --- a/Library/Homebrew/cmd/tap.rb +++ b/Library/Homebrew/cmd/tap.rb @@ -53,7 +53,12 @@ module Homebrew to.make_relative_symlink(path) rescue SystemCallError to = to.resolved_path if to.symlink? - opoo "Could not tap #{Tty.white}#{tap_ref(path)}#{Tty.reset} over #{Tty.white}#{tap_ref(to)}#{Tty.reset}" + opoo <<-EOS.undent + Could not create link for #{Tty.white}#{tap_ref(path)}#{Tty.reset}, as it + conflicts with #{Tty.white}#{tap_ref(to)}#{Tty.reset}. You will need to use the + fully-qualified name when referring this formula, e.g. + brew install #{tap_ref(path)} + EOS else ignores << path.basename.to_s tapped += 1 |
