diff options
| author | Jack Nagel | 2014-05-21 19:27:12 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-21 19:27:12 -0500 |
| commit | afa45493af041e3357d9cff64dea085e88eed251 (patch) | |
| tree | 170755cee03a9b68835a8f572f9a9f408a75550c | |
| parent | b1c558f3a34695c6ccd1b0e1fc7e6a2b1227a613 (diff) | |
| download | homebrew-afa45493af041e3357d9cff64dea085e88eed251.tar.bz2 | |
Use <developer_dir>/usr/bin/git as a heuristic
| -rwxr-xr-x | install | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -158,7 +158,7 @@ sudo "/bin/chmod", "g+rwx", HOMEBREW_CACHE if macos_version >= "10.9" developer_dir = `/usr/bin/xcode-select -print-path 2>/dev/null`.chomp - if developer_dir.empty? || !File.exist?("#{developer_dir}/usr/bin/xcrun") + if developer_dir.empty? || !File.exist?("#{developer_dir}/usr/bin/git") ohai "Installing the Command Line Tools (expect a GUI popup):" sudo "/usr/bin/xcode-select", "--install" puts "Press any key when the installation has completed." |
