aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/install b/install
index c76cb2196..005ca3134 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/clang")
+ if developer_dir.empty? || !File.exist?("#{developer_dir}/usr/bin/xcrun")
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."