aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-06-27 11:52:38 -0700
committerAdam Vandenberg2012-06-27 11:55:42 -0700
commitc54cfa5cb202793a3a540ca7240fa3f4b06e2588 (patch)
treeb14eba2587adba1bcf22f1cd2c48d5dd4b1a55f7 /Library
parent9c82fc29cd90a1c0b518af0cc077011ce46ce311 (diff)
downloadhomebrew-c54cfa5cb202793a3a540ca7240fa3f4b06e2588.tar.bz2
remove confusing comments
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/utils.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index a3c9fd7a6..6e3490236 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -298,7 +298,6 @@ module MacOS extend self
return @locate_cache[tool] if @locate_cache.has_key? tool
if File.executable? "/usr/bin/#{tool}"
- # Always prefer the unix style.
path = Pathname.new "/usr/bin/#{tool}"
else
# Xcrun was provided first with Xcode 4.3 and allows us to proxy
@@ -336,7 +335,6 @@ module MacOS extend self
Pathname.new "/usr/bin"
elsif not xctools_fucked? and system "/usr/bin/xcrun -find make 1>/dev/null 2>&1"
# Wherever "make" is there are the dev tools.
- # The new way of finding stuff via locate.
Pathname.new(`/usr/bin/xcrun -find make`.chomp).dirname
elsif File.exist? "#{xcode_prefix}/usr/bin/make"
# cc stopped existing with Xcode 4.3, there are c89 and c99 options though