aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions
diff options
context:
space:
mode:
authorAdam Vandenberg2011-06-19 22:12:44 -0700
committerAdam Vandenberg2011-06-19 22:12:44 -0700
commitaebcda591382a3edbdc0c7d9d43aa8413404947b (patch)
tree989145861e7ae331728c40cb093698e89de119d6 /Library/Contributions
parent657b4b7ccebcdfc3e38a8b33a0306cba3b364453 (diff)
downloadhomebrew-aebcda591382a3edbdc0c7d9d43aa8413404947b.tar.bz2
brew-which: also check sbin and lib folders
Diffstat (limited to 'Library/Contributions')
-rwxr-xr-xLibrary/Contributions/examples/brew-which.rb3
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|