Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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 #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.
  • Loading branch information...
commit 0a868aba74cc8d9b3878377847616400b8312693 1 parent 04ddb1c
@jacknagel jacknagel authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 Library/Homebrew/macos.rb
View
4 Library/Homebrew/macos.rb
@@ -50,10 +50,6 @@ def dev_tools_path
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
Please sign in to comment.
Something went wrong with that request. Please try again.