aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-06-04 15:37:36 -0500
committerJack Nagel2014-06-04 15:37:36 -0500
commit62e79c8d09d978f0f9106ebc7694d4fc55fc3241 (patch)
treefc0fb9cb0528ab021ccdd89165a5e4b969903adf /Library
parenteebef9b2d4e575f62dd9e55cdcd29cfd3f4935e1 (diff)
downloadbrew-62e79c8d09d978f0f9106ebc7694d4fc55fc3241.tar.bz2
audit: read formula text in binmode
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/audit.rb2
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