diff options
| author | Adam Vandenberg | 2012-06-27 11:52:38 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-06-27 11:55:42 -0700 |
| commit | c32e67b83cc5df5c69726f93d543eeee1c4202dd (patch) | |
| tree | 7567de6724fe8ede58990bf2b473491668189737 /Library/Homebrew/utils.rb | |
| parent | 13e14ef65ad16d650f89ea9c5f70b271b02ac781 (diff) | |
| download | brew-c32e67b83cc5df5c69726f93d543eeee1c4202dd.tar.bz2 | |
remove confusing comments
Diffstat (limited to 'Library/Homebrew/utils.rb')
| -rw-r--r-- | Library/Homebrew/utils.rb | 2 |
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 |
