diff options
| author | Max Howell | 2012-08-28 08:31:14 -0400 |
|---|---|---|
| committer | Max Howell | 2012-08-29 12:41:36 -0400 |
| commit | 5e13bc0bbfab5e60ecc78f817fc48eae2d0f30e2 (patch) | |
| tree | 588f66e4e390da9a575e0a6a10466c297de0fe64 /Library | |
| parent | 025e84d548d531a39d208d52d21f5a4148937c9b (diff) | |
| download | homebrew-5e13bc0bbfab5e60ecc78f817fc48eae2d0f30e2.tar.bz2 | |
Speed up brew instantiation
Adding MacOS.dev_tools_path to our PATH was slow. We no longer need to do this because of the previous commit making a script wrapper for git and svn. It was slow because the function calls out to lots of slow utilities to determine this path.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/global.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index 066d9335f..1c979ca0e 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -95,9 +95,3 @@ unless ARGV.include? "--no-compat" or ENV['HOMEBREW_NO_COMPAT'] end ORIGINAL_PATHS = ENV['PATH'].split(':').map{ |p| Pathname.new(File.expand_path(p)) } - -# Xcode-only installs place tools in non-standard locations, and we also want -# to ensure the dev tools are in the PATH in build.rb -unless ORIGINAL_PATHS.include? MacOS.dev_tools_path - ENV['PATH'] = ENV['PATH'].to_s + ':' + MacOS.dev_tools_path.to_s -end |
