From a42714ce82545047921dc35b41b5fc08d4e9ac43 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Fri, 16 Mar 2012 01:03:00 +0000 Subject: [PATCH] Improve CLI tools suggestion doctor text --- Library/Homebrew/cmd/doctor.rb | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 4a981f7ca8..d715920327 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -230,13 +230,12 @@ def check_for_latest_xcode end def check_cc - unless File.exist? '/usr/bin/cc' - <<-EOS.undent - You have no /usr/bin/cc. - This means you probably can't build *anything*. You need to install the CLI - Tools for Xcode. You can either download this from http://connect.apple.com/ - or install them from inside Xcode's preferences. Homebrew does not require - all of Xcode! You only need the CLI tools package! + unless File.exist? '/usr/bin/cc' then <<-EOS.undent + You have no /usr/bin/cc. + This means you probably can't build *anything*. You need to install the Command + Line Tools for Xcode. You can either download this from http://connect.apple.com + or install them from inside Xcode's Download preferences. Homebrew does not + require all of Xcode! You only need the Command Line Tools package! EOS end end