From 77e01d69ec1a934631fb5b029a2287b0a07db601 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 19 Jun 2011 22:12:44 -0700 Subject: [PATCH] brew-which: also check sbin and lib folders --- Library/Contributions/examples/brew-which.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Contributions/examples/brew-which.rb b/Library/Contributions/examples/brew-which.rb index 3ce9b497bf..b3318ee761 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|