diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 2b7c2ced24..94cc964a91 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -589,7 +589,7 @@ class Formula active_spec.add_legacy_patches(patches) return if patchlist.empty? - active_spec.patches.grep(DATAPatch).each { |p| p.path = path } + active_spec.patches.grep(DATAPatch) { |p| p.path = path } active_spec.patches.select(&:external?).each do |patch| patch.verify_download_integrity(patch.fetch)