Check that /usr/bin/cc exists in brew doctor
Refs Homebrew/homebrew#7454.
This commit is contained in:
parent
d37918b20f
commit
b145d075c1
@ -214,6 +214,13 @@ def check_gcc_versions
|
|||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
unless File.exist? '/usr/bin/cc'
|
||||||
|
puts <<-EOS.undent
|
||||||
|
You have no /usr/bin/cc. This will cause numerous build issues. Please
|
||||||
|
reinstall Xcode.
|
||||||
|
EOS
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def __check_subdir_access base
|
def __check_subdir_access base
|
||||||
|
Loading…
x
Reference in New Issue
Block a user