diff options
| author | Adam Vandenberg | 2011-07-30 22:24:19 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-07-30 22:24:19 -0700 |
| commit | 733e280e61bc74258993fd19dedd8c0c3d1fd5be (patch) | |
| tree | 350601468a0e113db354bf4adcfbbc57a41281b0 /Library | |
| parent | 0818189b5d899252f4166da2fe26984ad7a4ec0a (diff) | |
| download | brew-733e280e61bc74258993fd19dedd8c0c3d1fd5be.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 |
