aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorWilliam Woodruff2015-06-13 20:32:04 -0400
committerMisty De Meo2015-08-21 10:58:13 -0700
commit85187bf6d3779692c77b5ef8a256f16b3048294a (patch)
tree004ba5d7a8096238d829068550901b5de933e0c8 /Library/Homebrew/cmd
parent8aad5230630c04c231c2d90406780deeb7a65109 (diff)
downloadbrew-85187bf6d3779692c77b5ef8a256f16b3048294a.tar.bz2
MacOS: update locate_cctool
This becomes MacOS.{install_name_tool,otool}, only do check_xcode if xcode is installed, otherwise emit a warning
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/install.rb7
1 files changed, 6 insertions, 1 deletions
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