Skip to content
Browse files

Give a better message when checking of homebrew prefix fails.

  • Loading branch information...
1 parent 599cc70 commit 6c86b84af07942118c4441e316f9dfdb9d2bae2d @oscardelben committed Mar 7, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 bin/brew
View
3 bin/brew
@@ -29,7 +29,8 @@ end
case HOMEBREW_PREFIX.to_s when '/', '/usr'
# it may work, but I only see pain this route and don't want to support it
- abort "Cowardly refusing to continue at this prefix: #{HOMEBREW_PREFIX}"
+ abort "Cowardly refusing to continue at this prefix: #{HOMEBREW_PREFIX}" +
+ "Please refer to the documentation for supported path prefixes."
end
if MACOS_VERSION < 10.5
abort <<-EOABORT.undent

0 comments on commit 6c86b84

Please sign in to comment.
Something went wrong with that request. Please try again.