Skip to content

Commit

Permalink
Give a better message when checking of homebrew prefix fails.
Browse files Browse the repository at this point in the history
  • Loading branch information
oscardelben committed Mar 7, 2012
1 parent 599cc70 commit 6c86b84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/brew
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6c86b84

Please sign in to comment.