aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/os/mac/xcode.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb
index 7733d4408..c5b7b3438 100644
--- a/Library/Homebrew/os/mac/xcode.rb
+++ b/Library/Homebrew/os/mac/xcode.rb
@@ -130,11 +130,11 @@ module OS
end
def provides_gcc?
- version < "4.3"
+ installed? && version < "4.3"
end
def provides_cvs?
- version < "5.0"
+ installed? && version < "5.0"
end
def default_prefix?