aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/brewkit.rb
diff options
context:
space:
mode:
authorMax Howell2009-09-23 16:41:47 +0100
committerMax Howell2009-09-24 18:26:24 +0100
commit034fc40ae122f0d99ea0793264ed74c986866327 (patch)
tree25de936d275bba89ab781c509d82fd27df8e0747 /Library/Homebrew/brewkit.rb
parenta03d13088f7e5f6dfe1d4d6518d2399172d40a2f (diff)
downloadbrew-034fc40ae122f0d99ea0793264ed74c986866327.tar.bz2
Remove Fink and Macports from the PATH earlier
References issue Homebrew/homebrew#48
Diffstat (limited to 'Library/Homebrew/brewkit.rb')
-rw-r--r--Library/Homebrew/brewkit.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/Library/Homebrew/brewkit.rb b/Library/Homebrew/brewkit.rb
index be22ca675..132bda851 100644
--- a/Library/Homebrew/brewkit.rb
+++ b/Library/Homebrew/brewkit.rb
@@ -175,14 +175,6 @@ end
ENV.extend HomebrewEnvExtension
-# remove MacPorts and Fink from the PATH, this prevents issues like:
-# http://github.com/mxcl/homebrew/issues/#issue/13
-paths=ENV['PATH'].split(':').reject do |p|
- p.squeeze! '/'
- p =~ %r[^/opt/local] or p =~ %r[^/sw]
-end
-ENV['PATH']=paths*':'
-
# Clear CDPATH to avoid make issues that depend on changing directories
ENV.delete('CDPATH')