aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorAdam Vandenberg2013-06-26 10:37:09 -0700
committerAdam Vandenberg2013-06-26 19:58:08 -0700
commit1cd31496775ab8cf1051e22367c8ab6184bb3b97 (patch)
tree3c1815357a4f56950da0f7e28d3aa71d1a599880 /Library/Homebrew/cmd
parent5627ed21ce39271f503d45e7ff0cace837ba4b63 (diff)
downloadbrew-1cd31496775ab8cf1051e22367c8ab6184bb3b97.tar.bz2
Be explicit about passing formulae names or instances to Tab
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/doctor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 6c64a61ce..ad8892baa 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -974,7 +974,7 @@ def check_for_non_prefixed_coreutils
end
def check_for_non_prefixed_findutils
- default_names = Tab.for_formula('findutils').used_options.include? 'default-names'
+ default_names = Tab.for_name('findutils').used_options.include? 'default-names'
if default_names then <<-EOS.undent
Putting non-prefixed findutils in your path can cause python builds to fail.
EOS