aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2015-01-12 21:26:18 -0500
committerJack Nagel2015-01-12 21:26:18 -0500
commitd0a1800e374a164158ce6ef2d5f53fe6e8436903 (patch)
treea7e39baad2166fc38d80e511b34d2fe7dd818335 /Library
parentb1514c1c40390b2238f378ff132b76e2e8a744ef (diff)
downloadbrew-d0a1800e374a164158ce6ef2d5f53fe6e8436903.tar.bz2
doctor: check access on all important HOMEBREW_PREFIX subdirs
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 d94742459..5c5f6701b 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -419,7 +419,7 @@ def check_access_usr_local
end
end
-%w{include etc lib lib/pkgconfig share}.each do |d|
+(Keg::TOP_LEVEL_DIRECTORIES + ["lib/pkgconfig"]).each do |d|
define_method("check_access_#{d.sub("/", "_")}") do
dir = HOMEBREW_PREFIX.join(d)
if dir.exist? && !dir.writable_real? then <<-EOS.undent