aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
diff options
context:
space:
mode:
authorMike McQuaid2016-12-18 15:31:15 -0800
committerMike McQuaid2016-12-18 15:31:17 -0800
commit477faf073bd0e500bbdea65239430b6a6bd3b54b (patch)
tree037c09e7efdc41a0b12a796c86bf001bd418052b /Library/Homebrew/extend
parent201b45d2cace5237b555a56af30703e3fd1fc4c2 (diff)
downloadbrew-477faf073bd0e500bbdea65239430b6a6bd3b54b.tar.bz2
Never trigger too old CLT check on <10.7.
While we fake a CLT for these versions they never shipped with the CLT so cannot update it.
Diffstat (limited to 'Library/Homebrew/extend')
-rw-r--r--Library/Homebrew/extend/os/mac/diagnostic.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb
index 157e7982b..55be7b191 100644
--- a/Library/Homebrew/extend/os/mac/diagnostic.rb
+++ b/Library/Homebrew/extend/os/mac/diagnostic.rb
@@ -116,7 +116,7 @@ module Homebrew
def check_xcode_minimum_version
return unless MacOS::Xcode.installed?
- return unless MacOS::Xcode.minimum_version?
+ return unless MacOS::Xcode.below_minimum_version?
<<-EOS.undent
Your Xcode (#{MacOS::Xcode.version}) is too outdated.
@@ -127,7 +127,7 @@ module Homebrew
def check_clt_minimum_version
return unless MacOS::CLT.installed?
- return unless MacOS::CLT.minimum_version?
+ return unless MacOS::CLT.below_minimum_version?
<<-EOS.undent
Your Command Line Tools are too outdated.