Skip to content
Snippets Groups Projects
Commit 79782094 authored by Jack Nagel's avatar Jack Nagel
Browse files

Use formula patches accessor

parent 165b47c0
No related branches found
No related tags found
No related merge requests found
......@@ -387,7 +387,7 @@ class Formula
def patch
ohai "Patching"
active_spec.patches.each(&:apply)
patchlist.each(&:apply)
end
# yields self with current working directory set to the uncompressed tarball
......@@ -761,9 +761,9 @@ class Formula
active_spec.add_legacy_patches(patches)
return if patchlist.empty?
active_spec.patches.grep(DATAPatch) { |p| p.path = path }
patchlist.grep(DATAPatch) { |p| p.path = path }
active_spec.patches.select(&:external?).each do |patch|
patchlist.select(&:external?).each do |patch|
patch.verify_download_integrity(patch.fetch)
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment