fetch: also fetch resources' patches

This commit is contained in:
ilovezfs 2018-01-21 23:41:54 -08:00
parent 7c07ec5fc1
commit 69db925e8a

View File

@ -63,7 +63,12 @@ module Homebrew
next if fetched_bottle
fetch_formula(f)
f.resources.each { |r| fetch_resource(r) }
f.resources.each do |r|
fetch_resource(r)
r.patches.each { |p| fetch_patch(p) if p.external? }
end
f.patchlist.each { |p| fetch_patch(p) if p.external? }
end
end