diff options
| author | Jack Nagel | 2014-06-04 15:37:36 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-04 15:37:36 -0500 |
| commit | 62e79c8d09d978f0f9106ebc7694d4fc55fc3241 (patch) | |
| tree | fc0fb9cb0528ab021ccdd89165a5e4b969903adf /Library | |
| parent | eebef9b2d4e575f62dd9e55cdcd29cfd3f4935e1 (diff) | |
| download | brew-62e79c8d09d978f0f9106ebc7694d4fc55fc3241.tar.bz2 | |
audit: read formula text in binmode
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 54046e48d..1182e7328 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -56,7 +56,7 @@ end class FormulaText def initialize path - @text = path.open('r') { |f| f.read } + @text = path.open("rb", &:read) end def without_patch |
