aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2012-03-01 16:59:18 +0000
committerMax Howell2012-03-01 16:59:18 +0000
commitfb049005e2d6580882f03bd2c3ec377188f30a37 (patch)
tree9e80c5b66cf5df7c0a1457edf6313eb9ac89568e /Library
parent489aba4e98b8e9c8b572385bf9e7a93a1fa8b465 (diff)
downloadhomebrew-fb049005e2d6580882f03bd2c3ec377188f30a37.tar.bz2
Fix /usr/bin:/usr/local/bin PATH order check
Diffstat (limited to 'Library')
-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 57dfa7f90..9f47dd92a 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -376,7 +376,7 @@ def check_user_path_1
map{ |fn| File.basename fn }.
select{ |bn| File.exist? "/usr/bin/#{bn}" }
- if conflicts.size
+ if conflicts.size > 0
out = <<-EOS.undent
/usr/bin occurs before #{HOMEBREW_PREFIX}/bin
This means that system-provided programs will be used instead of those