aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2011-06-19 22:12:44 -0700
committerAdam Vandenberg2011-06-19 22:12:44 -0700
commit77e01d69ec1a934631fb5b029a2287b0a07db601 (patch)
tree983a18a798f737f2875b8f1a4b8d33f60425ca44 /Library
parent440d8ea4c549a965e5c5bcd397c6370233e4e064 (diff)
downloadbrew-77e01d69ec1a934631fb5b029a2287b0a07db601.tar.bz2
brew-which: also check sbin and lib folders
Diffstat (limited to 'Library')
-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|