diff options
| author | Adam Vandenberg | 2011-06-19 22:12:44 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-06-19 22:12:44 -0700 |
| commit | aebcda591382a3edbdc0c7d9d43aa8413404947b (patch) | |
| tree | 989145861e7ae331728c40cb093698e89de119d6 /Library/Contributions | |
| parent | 657b4b7ccebcdfc3e38a8b33a0306cba3b364453 (diff) | |
| download | homebrew-aebcda591382a3edbdc0c7d9d43aa8413404947b.tar.bz2 | |
brew-which: also check sbin and lib folders
Diffstat (limited to 'Library/Contributions')
| -rwxr-xr-x | Library/Contributions/examples/brew-which.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Contributions/examples/brew-which.rb b/Library/Contributions/examples/brew-which.rb index 3ce9b497b..b3318ee76 100755 --- a/Library/Contributions/examples/brew-which.rb +++ b/Library/Contributions/examples/brew-which.rb @@ -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| |
