From 85187bf6d3779692c77b5ef8a256f16b3048294a Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Sat, 13 Jun 2015 20:32:04 -0400 Subject: MacOS: update locate_cctool This becomes MacOS.{install_name_tool,otool}, only do check_xcode if xcode is installed, otherwise emit a warning --- Library/Homebrew/cmd/install.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Library/Homebrew/cmd') diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index fa9507fb3..1ef1ca61a 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -157,7 +157,12 @@ module Homebrew def perform_preinstall_checks check_ppc check_writable_install_location - check_xcode + if MacOS::Xcode.installed? + check_xcode + else + opoo "You have not installed Xcode." + puts "Bottles may install correctly, but builds will fail!" + end check_cellar end -- cgit v1.2.3