diff options
| author | William Woodruff | 2015-06-13 20:32:04 -0400 |
|---|---|---|
| committer | Misty De Meo | 2015-08-21 10:58:13 -0700 |
| commit | 85187bf6d3779692c77b5ef8a256f16b3048294a (patch) | |
| tree | 004ba5d7a8096238d829068550901b5de933e0c8 /Library/Homebrew/cmd/install.rb | |
| parent | 8aad5230630c04c231c2d90406780deeb7a65109 (diff) | |
| download | brew-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/install.rb')
| -rw-r--r-- | Library/Homebrew/cmd/install.rb | 7 |
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 |
