aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-09-07 14:07:06 -0500
committerJack Nagel2014-09-07 14:07:06 -0500
commitd0ecd08c90be87780e8b911aa8659ae3dd10cf6c (patch)
tree16104af6e4bdf21b855137a76ec8138a85c0b75f
parent829b6289f53c8ea34ae2752923bf76fd6bada820 (diff)
downloadbrew-d0ecd08c90be87780e8b911aa8659ae3dd10cf6c.tar.bz2
Avoid intermediate array
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 2b7c2ced2..94cc964a9 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)