versions: fix bottle filename usage
This commit is contained in:
parent
b45cadd19a
commit
cc4776cc23
@ -47,8 +47,7 @@ class Formula
|
||||
filename = formula_for_sha(sha) do |f|
|
||||
bottle_block = f.class.send(:bottle)
|
||||
unless bottle_block.checksums.empty?
|
||||
revision = bottle_block.revision
|
||||
bottle_filename f, revision
|
||||
bottle_filename f, :revision => bottle_block.revision
|
||||
end
|
||||
end
|
||||
unless filenames.include? filename or filename.nil?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user