versions: use bottle_filename only if f.bottle.
This commit is contained in:
parent
82eee276e3
commit
c883286840
@ -39,7 +39,7 @@ class Formula
|
||||
def bottle_filenames branch='HEAD'
|
||||
filenames = []
|
||||
rev_list(branch).each do |sha|
|
||||
filename = formula_for_sha(sha) {|f| bottle_filename f }
|
||||
filename = formula_for_sha(sha) {|f| bottle_filename f if f.bottle }
|
||||
unless filenames.include? filename or filename.nil?
|
||||
filenames << filename
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user