aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2011-07-30 22:24:19 -0700
committerAdam Vandenberg2011-07-30 22:24:19 -0700
commit9324ad5a15e9e7ca0d5febec1cb4d5729c9d2920 (patch)
tree3563dc1d17dbb003d286e34915cada3e65b409eb /Library
parented41f79906ca5cf7beec3f0e5882c5e7cd9b2777 (diff)
downloadhomebrew-9324ad5a15e9e7ca0d5febec1cb4d5729c9d2920.tar.bz2
fix doctor on 10.5
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 13657b0ae..dca685904 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -353,7 +353,7 @@ def check_user_path
end
# Don't complain about sbin not being in the path if it doesn't exist
- if (HOMEBREW_PREFIX+'sbin').children.count > 0
+ if (HOMEBREW_PREFIX+'sbin').children.length > 0
unless seen_prefix_sbin
puts <<-EOS.undent
Some brews install binaries to sbin instead of bin, but Homebrew's