aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorCharlie Sharpsteen2011-11-29 14:40:40 -0800
committerCharlie Sharpsteen2011-11-29 14:42:29 -0800
commit4250018b8edb8fbf20ed8c4bdfa18a4c99506923 (patch)
treecbe6fddf6c812a0956555a2475ed284ec3d7e8b0 /Library
parent294af55b2467187fd15487924d150446f62acf48 (diff)
downloadhomebrew-4250018b8edb8fbf20ed8c4bdfa18a4c99506923.tar.bz2
brew doctor: Ignore config files in /usr/X11R6/bin
`/usr/X11R6` is an Apple-provided symlink to `/usr/X11`. Fixes #8881.
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 6d1f687a7..0659722f8 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -480,7 +480,7 @@ def check_for_config_scripts
config_scripts = []
path_folders.each do |p|
- next if ['/usr/bin', '/usr/sbin', '/usr/X11/bin', "#{HOMEBREW_PREFIX}/bin", "#{HOMEBREW_PREFIX}/sbin"].include? p
+ next if ['/usr/bin', '/usr/sbin', '/usr/X11/bin', '/usr/X11R6/bin', "#{HOMEBREW_PREFIX}/bin", "#{HOMEBREW_PREFIX}/sbin"].include? p
next if p =~ %r[^(#{real_cellar.to_s}|#{HOMEBREW_CELLAR.to_s})] if real_cellar
configs = Dir["#{p}/*-config"]