diff options
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/bottle.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb index 9255364a9..9b45e3b6d 100644 --- a/Library/Homebrew/cmd/bottle.rb +++ b/Library/Homebrew/cmd/bottle.rb @@ -27,10 +27,12 @@ BOTTLE_ERB = <<-EOS <% if revision > 0 %> revision <%= revision %> <% end %> - <% checksums.keys.each do |checksum_type| %> - <% checksum, osx = checksums[checksum_type].shift %> + <% checksums.each do |checksum_type, checksum_values| %> + <% checksum_values.each do |checksum_value| %> + <% checksum, osx = checksum_value.shift %> <%= checksum_type %> '<%= checksum %>' => :<%= osx %> <% end %> + <% end %> end EOS |
