Fix /usr/bin:/usr/local/bin PATH order check

This commit is contained in:
Max Howell 2012-03-01 16:59:18 +00:00
parent ba9b1f918d
commit c21ffc4139

View File

@ -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