aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-05-21 19:27:12 -0500
committerJack Nagel2014-05-21 19:27:12 -0500
commitafa45493af041e3357d9cff64dea085e88eed251 (patch)
tree170755cee03a9b68835a8f572f9a9f408a75550c
parentb1c558f3a34695c6ccd1b0e1fc7e6a2b1227a613 (diff)
downloadhomebrew-afa45493af041e3357d9cff64dea085e88eed251.tar.bz2
Use <developer_dir>/usr/bin/git as a heuristic
-rwxr-xr-xinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/install b/install
index 005ca3134..c7769a116 100755
--- a/install
+++ b/install
@@ -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."