Skip to content

Commit

Permalink
remove confusing comments
Browse files Browse the repository at this point in the history
  • Loading branch information
adamv committed Jun 27, 2012
1 parent 9c82fc2 commit c54cfa5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Library/Homebrew/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ def locate tool
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
Expand Down Expand Up @@ -336,7 +335,6 @@ def dev_tools_path
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
Expand Down

0 comments on commit c54cfa5

Please sign in to comment.