aboutsummaryrefslogtreecommitdiffstats
path: root/Library/brew.rb
diff options
context:
space:
mode:
authorJack Nagel2014-05-01 18:36:46 -0500
committerJack Nagel2014-05-01 18:36:46 -0500
commitaa5a5a526f4b847df2ad9d12dcd7569e526dff32 (patch)
treeff58d9ea44130c68397fb1f84a67d16db323c816 /Library/brew.rb
parent4b335eb2df8f64208ccf26da291c11691d7c6474 (diff)
downloadbrew-aa5a5a526f4b847df2ad9d12dcd7569e526dff32.tar.bz2
Rename Xcode.folder to MacOS.active_developer_dir
This reflects what Apple calls it in more recent versions of Xcode/OS X.
Diffstat (limited to 'Library/brew.rb')
-rwxr-xr-xLibrary/brew.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/brew.rb b/Library/brew.rb
index 592719340..ae9b37d6b 100755
--- a/Library/brew.rb
+++ b/Library/brew.rb
@@ -34,7 +34,7 @@ end
# Check for bad xcode-select before anything else, because `doctor` and
# many other things will hang
# Note that this bug was fixed in 10.9
-if OS.mac? && MacOS.version < :mavericks && MacOS::Xcode.folder == "/"
+if OS.mac? && MacOS.version < :mavericks && MacOS.active_developer_dir == "/"
odie <<-EOS.undent
Your xcode-select path is currently set to '/'.
This causes the `xcrun` tool to hang, and can render Homebrew unusable.