diff options
| author | Max Howell | 2012-02-16 20:20:14 +0000 |
|---|---|---|
| committer | Max Howell | 2012-03-09 12:10:50 +0000 |
| commit | f37e22838cb0df651f50dd063135d975f7d30e3f (patch) | |
| tree | eb88fdd6eda8d317f0ef736829d4383950c73b13 | |
| parent | dfa75f9230f75060a693add842fcdc5648398c69 (diff) | |
| download | brew-f37e22838cb0df651f50dd063135d975f7d30e3f.tar.bz2 | |
Encourage usage of the new CLT4Xcode
| -rw-r--r-- | install_homebrew.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/install_homebrew.rb b/install_homebrew.rb index df3a017e4..25510a25b 100644 --- a/install_homebrew.rb +++ b/install_homebrew.rb @@ -131,7 +131,12 @@ Dir.chdir "/usr/local" do end warn "/usr/local/bin is not in your PATH." unless ENV['PATH'].split(':').include? '/usr/local/bin' -warn "Now install Xcode: http://developer.apple.com/technologies/xcode.html" unless Kernel.system "/usr/bin/which -s gcc" + +if macos_version < 10.7 + warn "Now install Xcode: http://developer.apple.com/technologies/xcode.html" unless Kernel.system "/usr/bin/which -s gcc" +else + warn "Install \"Command Line Tools for Xcode\": http://developer.apple.com/downloads" unless File.file? "/usr/bin/xcrun" +end unless badlibs.empty? warn "The following *evil* dylibs exist in /usr/local/lib" |
