diff options
| author | Max Howell | 2009-09-27 23:55:40 +0100 |
|---|---|---|
| committer | Max Howell | 2009-09-28 00:20:51 +0100 |
| commit | 1004df181ec8ff14d9802533afd6614cefb9890b (patch) | |
| tree | 0972079cef3bdb25211f8710c04283697f1b1ae1 /bin | |
| parent | fab877de187fe2729ea7331b8b453d735972e22b (diff) | |
| download | brew-1004df181ec8ff14d9802533afd6614cefb9890b.tar.bz2 | |
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.
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/brew | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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?" |
