diff options
| author | Max Howell | 2009-11-08 16:22:15 +0000 |
|---|---|---|
| committer | Max Howell | 2009-11-08 16:22:15 +0000 |
| commit | c35887b6f3cce380feb8fc7502e8287d97ce8f5f (patch) | |
| tree | 0552a208c0b5d6013425333951975cfa801c24e6 /bin | |
| parent | 80b555057c6518a27afb22aa8098910ed77984ac (diff) | |
| download | brew-c35887b6f3cce380feb8fc7502e8287d97ce8f5f.tar.bz2 | |
Warn users about Xcode versions that are too old
Closes Homebrew/homebrew#116
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/brew | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -205,6 +205,9 @@ begin if MACOS_VERSION >= 10.6 `/Developer/usr/bin/llvm-gcc-4.2 -v 2>&1` =~ /LLVM build (\d{4,})/ opoo "You should upgrade to Xcode 3.2.1" if $1.to_i < 2206 + else + `/usr/bin/gcc-4.2 -v 2>&1` =~ /build (\d{4,})/ + opoo "You should upgrade to Xcode 3.1" if $1.to_i < 5577 end if macports_or_fink_installed? |
