From 034fc40ae122f0d99ea0793264ed74c986866327 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Wed, 23 Sep 2009 16:41:47 +0100 Subject: Remove Fink and Macports from the PATH earlier References issue Homebrew/homebrew#48 --- bin/brew | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bin') diff --git a/bin/brew b/bin/brew index 31e540848..5664ee5a7 100755 --- a/bin/brew +++ b/bin/brew @@ -12,6 +12,12 @@ if %w[/ /usr].include? HOMEBREW_PREFIX.to_s then abort <<-EOS EOS end if `sw_vers -productVersion` =~ /10\.(\d)\.(\d+)/ and $1.to_i < 5 + +# remove MacPorts and Fink from the PATH, this prevents issues like: +# http://github.com/mxcl/homebrew/issues/#issue/13 +# http://github.com/mxcl/homebrew/issues/#issue/48 +fix_PATH + onoe "Homebrew requires Leopard or higher" abort "But thanks for your interest anyway!" end -- cgit v1.2.3