Install: remove check_for_bad_install_name_tool

Until it can be adapted to not call otool on systems w/o XCode/CLT
This commit is contained in:
William Woodruff 2015-06-02 13:07:05 -04:00 committed by Misty De Meo
parent dcc394c3f7
commit 4d65b817ec

View File

@ -122,13 +122,15 @@ module Homebrew
end
def check_xcode
# TODO: reinstate check_for_bad_install_name_tool
# currently check_for_bad_install_name_tool fails because it tries to call
# the /usr/bin/otool stub program on systems without XCode/CLT
checks = Checks.new
%w[
check_for_unsupported_osx
check_for_installed_developer_tools
check_xcode_license_approved
check_for_osx_gcc_installer
check_for_bad_install_name_tool
].each do |check|
out = checks.send(check)
opoo out unless out.nil?