aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-08-09 22:00:23 -0500
committerJack Nagel2014-08-09 22:01:28 -0500
commit11470e2a1a1350b3e2807cfda0c097c4c6061833 (patch)
treefab2e8a2ba6c0c146214e8fd0a28e047c301bd53 /Library
parent04056284ba49b7135b6378bc386e9cc182466c95 (diff)
downloadbrew-11470e2a1a1350b3e2807cfda0c097c4c6061833.tar.bz2
Don't compare versions against floating point numbers
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/doctor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 5d2d68dc6..746825ddd 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -319,7 +319,7 @@ def check_for_stray_developer_directory
end
def check_for_bad_install_name_tool
- return if MacOS.version < 10.9
+ return if MacOS.version < "10.9"
libs = `otool -L /usr/bin/install_name_tool`
unless libs.include? "/usr/lib/libxcselect.dylib" then <<-EOS.undent