diff options
| author | Misty De Meo | 2016-02-06 14:19:58 -0800 | 
|---|---|---|
| committer | Misty De Meo | 2016-02-06 14:20:56 -0800 | 
| commit | 1ed71080527f9f828cc3fb5508a3e0cd314e0505 (patch) | |
| tree | 82efc64f3f5b9d346ccfdff0493c98442eaed377 /Library/Homebrew/patch.rb | |
| parent | 268fa841deec9d18bfa0e16b109b7cf0d08099ec (diff) | |
| download | brew-1ed71080527f9f828cc3fb5508a3e0cd314e0505.tar.bz2 | |
Array#count alias didn't always exist
Fixes mistydemeo/tigerbrew#408.
Diffstat (limited to 'Library/Homebrew/patch.rb')
| -rw-r--r-- | Library/Homebrew/patch.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/Library/Homebrew/patch.rb b/Library/Homebrew/patch.rb index ebfb8e347..9adb1ffee 100644 --- a/Library/Homebrew/patch.rb +++ b/Library/Homebrew/patch.rb @@ -130,7 +130,7 @@ class ExternalPatch        patch_dir = Pathname.pwd        if patch_files.empty?          children = patch_dir.children -        if (children.count == 1 && children.first.file?) +        if (children.length == 1 && children.first.file?)            patch_files << children.first.basename          else            raise MissingApplyError, <<-EOS.undent | 
