aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2013-10-22 20:48:22 -0500
committerJack Nagel2013-10-22 20:48:22 -0500
commita5e8962ae762fea3bc22f350c5ad6e1526dd3b5f (patch)
tree9dc28811efce2ea626698db4901d296edcfe5d28 /Library/Homebrew/cmd
parentdf824a22a764538ab4a54f186a761d7fff90f7fd (diff)
downloadbrew-a5e8962ae762fea3bc22f350c5ad6e1526dd3b5f.tar.bz2
Avoid comparing Xcode.version to floats
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/--config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/--config.rb b/Library/Homebrew/cmd/--config.rb
index 2c1bedaf5..9017e3e78 100644
--- a/Library/Homebrew/cmd/--config.rb
+++ b/Library/Homebrew/cmd/--config.rb
@@ -42,7 +42,7 @@ module Homebrew extend self
def clt
if instance_variable_defined?(:@clt)
@clt
- elsif MacOS::CLT.installed? && MacOS::Xcode.version.to_f >= 4.3
+ elsif MacOS::CLT.installed? && MacOS::Xcode.version >= "4.3"
@clt = MacOS::CLT.version
end
end