aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2012-12-08 16:47:47 -0600
committerJack Nagel2012-12-08 16:51:29 -0600
commit827e4f813fe0ae2de3ff3179cc1a3d924bd84d2c (patch)
tree8cb402625add03d586a369fad713f7f858b9bb2d
parent35894652978cc8493d78fb3928f907478681402b (diff)
downloadbrew-827e4f813fe0ae2de3ff3179cc1a3d924bd84d2c.tar.bz2
Don't print error message when dev_tools_path fails to find tools
This message is either (a) never printed because the tools are installed, or (b) printed every time this method is called. See Homebrew/homebrew#16119. This code shouldn't be responsible for UX anyway, so just remove it and let other parts of Homebrew be responsible for failing or declaring that they need the developer tools.
-rw-r--r--Library/Homebrew/macos.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/Library/Homebrew/macos.rb b/Library/Homebrew/macos.rb
index 8cc8de2d2..042380751 100644
--- a/Library/Homebrew/macos.rb
+++ b/Library/Homebrew/macos.rb
@@ -50,10 +50,6 @@ module MacOS extend self
elsif File.exist? "#{Xcode.prefix}/usr/bin/make"
# cc stopped existing with Xcode 4.3, there are c89 and c99 options though
Pathname.new "#{Xcode.prefix}/usr/bin"
- else
- # Since we are pretty unrelenting in finding Xcode no matter where
- # it hides, we can now throw in the towel.
- opoo "Could not locate developer tools. Consult `brew doctor`."
end
end