diff options
| author | Martin Afanasjew | 2016-06-29 16:20:47 +0200 |
|---|---|---|
| committer | Martin Afanasjew | 2016-06-29 16:20:47 +0200 |
| commit | 3c5f007bfa1a469ef3e1a048ee163f3eaa73cb71 (patch) | |
| tree | d1a273c0e92a447af40048c9f4bc79964a4de83d /Library/Homebrew/cmd/help.rb | |
| parent | da06e813c2b8925499484ff8be7772f6aa6ae9e3 (diff) | |
| download | brew-3c5f007bfa1a469ef3e1a048ee163f3eaa73cb71.tar.bz2 | |
bin/brew: fix corner cases in prefix computation
If `bin/brew` happens to be symlinked to `/brew`, `/bin/brew`, or some
similar location or (worse yet) Homebrew is installed to `/`, then
computation of the prefix and/or repository path could break down and
result in an invalid or empty path.
Closes Homebrew/homebrew-core#2430.
Diffstat (limited to 'Library/Homebrew/cmd/help.rb')
0 files changed, 0 insertions, 0 deletions
