diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 36073daf3..6b9ce1d51 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -231,6 +231,16 @@ def check_for_latest_xcode end end +def check_for_stray_developer_directory + if MacOS::Xcode.version >= "4.3" and File.exist? "/Developer/Library" + return <<-EOS.undent + You have leftover files from an older version of Xcode. + You should delete them using: + /Developer/Library/uninstall-developer-folder + EOS + end +end + def check_cc unless MacOS::CLT.installed? if MacOS::Xcode.version >= "4.3" |
