Warn users about Xcode versions that are too old
Closes Homebrew/homebrew#116
This commit is contained in:
parent
80b555057c
commit
c35887b6f3
3
bin/brew
3
bin/brew
@ -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?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user