brew-which: also check sbin and lib folders

This commit is contained in:
Adam Vandenberg 2011-06-19 22:12:44 -07:00
parent 440d8ea4c5
commit 77e01d69ec

View File

@ -8,8 +8,7 @@ module Homebrew extend self
real_cellar = HOMEBREW_CELLAR.realpath
# paths=%w[bin sbin etc lib include share].collect {|d| HOMEBREW_PREFIX+d}
paths=%w[bin].collect {|d| HOMEBREW_PREFIX+d}
paths=%w[bin sbin lib].collect {|d| HOMEBREW_PREFIX+d}
paths.each do |path|
path.find do |path|