diff options
| author | Adam Vandenberg | 2011-07-30 22:24:19 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-07-30 22:24:19 -0700 |
| commit | 9324ad5a15e9e7ca0d5febec1cb4d5729c9d2920 (patch) | |
| tree | 3563dc1d17dbb003d286e34915cada3e65b409eb /Library | |
| parent | ed41f79906ca5cf7beec3f0e5882c5e7cd9b2777 (diff) | |
| download | homebrew-9324ad5a15e9e7ca0d5febec1cb4d5729c9d2920.tar.bz2 | |
fix doctor on 10.5
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 2 |
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 |
