From f471c3e99fef4bb59c0bbafbfc496eca2850caa2 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 17 Aug 2012 23:21:35 -0500 Subject: MacOS.dev_tools_path: return nil if not found This matches the semantics of other path methods, such as Xcode.prefix. Signed-off-by: Jack Nagel --- Library/Homebrew/macos.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Library/Homebrew/macos.rb') diff --git a/Library/Homebrew/macos.rb b/Library/Homebrew/macos.rb index cee790242..696f897a9 100644 --- a/Library/Homebrew/macos.rb +++ b/Library/Homebrew/macos.rb @@ -71,8 +71,7 @@ module MacOS extend self else # Since we are pretty unrelenting in finding Xcode no matter where # it hides, we can now throw in the towel. - opoo "You really should consult the `brew doctor`!" - "" + opoo "Could not locate developer tools. Consult `brew doctor`." end end -- cgit v1.2.3