diff options
| author | Jack Nagel | 2013-12-27 16:19:43 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-12-27 16:19:43 -0600 |
| commit | e67bdb1351e6d8be2db2e26c74cb2e8934080258 (patch) | |
| tree | c920b55537f611a8afd5181b84aeff82fd60c4a2 /Library/Homebrew/cmd/bottle.rb | |
| parent | f053496cdba245c4bf5b7ba19a8b16ccece5eb3a (diff) | |
| download | homebrew-e67bdb1351e6d8be2db2e26c74cb2e8934080258.tar.bz2 | |
Don't send, just call the method directly
Diffstat (limited to 'Library/Homebrew/cmd/bottle.rb')
| -rw-r--r-- | Library/Homebrew/cmd/bottle.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb index 7e44b606b..9135af414 100644 --- a/Library/Homebrew/cmd/bottle.rb +++ b/Library/Homebrew/cmd/bottle.rb @@ -204,7 +204,7 @@ module Homebrew extend self f = Formula.factory formula_name formula_relative_path = "Library/Formula/#{f.name}.rb" formula_path = HOMEBREW_REPOSITORY+formula_relative_path - has_bottle_block = f.class.send(:bottle).checksums.any? + has_bottle_block = f.class.bottle.checksums.any? inreplace formula_path do |s| if has_bottle_block s.sub!(/ bottle do.+?end\n/m, output) |
