diff options
| author | Max Howell | 2012-03-09 12:17:49 +0000 |
|---|---|---|
| committer | Max Howell | 2012-03-09 12:17:49 +0000 |
| commit | 6345ceef1fa13830b720dbf425c7408100ce2570 (patch) | |
| tree | 2f8033c9362745a33792baa2b8597f11b21165ba | |
| parent | a7ac3c539d3a42c0bb6e38bfbf61ee9c5c0c6615 (diff) | |
| download | brew-6345ceef1fa13830b720dbf425c7408100ce2570.tar.bz2 | |
Update Xcode checks and URLs
| -rw-r--r-- | install_homebrew.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install_homebrew.rb b/install_homebrew.rb index 13f34ba00..8b26f035b 100644 --- a/install_homebrew.rb +++ b/install_homebrew.rb @@ -126,9 +126,9 @@ end warn "/usr/local/bin is not in your PATH." unless ENV['PATH'].split(':').include? '/usr/local/bin' if macos_version < 10.7 - warn "Now install Xcode: http://developer.apple.com/technologies/xcode.html" unless Kernel.system "/usr/bin/which -s gcc" + warn "Now install Xcode: https://developer.apple.com/xcode/" unless File.exist? "/usr/bin/cc" else - warn "Install \"Command Line Tools for Xcode\": http://developer.apple.com/downloads" unless File.file? "/usr/bin/xcrun" + warn "Now install the \"Command Line Tools for Xcode\": http://connect.apple.com" unless File.file? "/usr/bin/xcrun" end ohai "Installation successful!" |
