From 1004df181ec8ff14d9802533afd6614cefb9890b Mon Sep 17 00:00:00 2001 From: Max Howell Date: Sun, 27 Sep 2009 23:55:40 +0100 Subject: fix_PATH changed to warn_about_macports_or_fink We shouldn't mess with the user's PATH anyway. So assume our users are smart and just warn them about potential issues instead. --- bin/brew | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'bin') diff --git a/bin/brew b/bin/brew index 00a7e4391..85c2e1b33 100755 --- a/bin/brew +++ b/bin/brew @@ -12,11 +12,6 @@ if %w[/ /usr].include? HOMEBREW_PREFIX.to_s then abort <<-EOS EOS end -# 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 - if MACOS_VERSION < 10.5 onoe "Homebrew currently requires Leopard or higher" abort "Sorry about that, but thanks for your interest anyway!" @@ -95,6 +90,8 @@ begin raise "Interactive mode can only be used with one formula argument" end + warn_about_macports_or_fink # keep warning before dependency resolution + unless ARGV.force? unless system "/usr/bin/which -s #{ENV.cc}" raise "We cannot find a c compiler, have you installed the latest Xcode?" -- cgit v1.2.3