From c5266654ff1ff31ff9a53ce2098c7423e0449c19 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Tue, 21 Aug 2012 11:57:28 -0400 Subject: [PATCH] In fact, there are 2 xcode-select files to delete --- Library/Homebrew/cmd/doctor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index a553e5dc31..ad72a6dfc8 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -384,7 +384,7 @@ def check_xcode_select_path <<-EOS.undent Your xcode-select path is set to / You must unset it or builds will hang: - sudo rm /usr/share/xcode-select/xcode_dir_link + sudo rm /usr/share/xcode-select/xcode_dir_* EOS elsif not MacOS::CLT.installed? and not File.file? "#{MacOS::Xcode.folder}/usr/bin/xcodebuild" path = MacOS.app_with_bundle_id(MacOS::Xcode::V4_BUNDLE_ID) || MacOS.app_with_bundle_id(MacOS::Xcode::V3_BUNDLE_ID)