aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2014-08-09 22:00:23 -0500
committerJack Nagel2014-08-09 22:01:28 -0500
commit44d197762bae8e33feacf0f84f72d418d7e52bef (patch)
tree910f32c7baeb130aeaab7472af2fce7570510d86 /Library/Homebrew
parent206e3981fd9482979ba275ea09c0efb0e7be51f4 (diff)
downloadhomebrew-44d197762bae8e33feacf0f84f72d418d7e52bef.tar.bz2
Don't compare versions against floating point numbers
Diffstat (limited to 'Library/Homebrew')
-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