aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-09-07 14:07:06 -0500
committerJack Nagel2014-09-07 14:07:06 -0500
commit9c4e05b117282bc9df6594162d827159334f0c24 (patch)
tree01f8942ff279ba4411d95c62ecb7831ea0dc7d6e /Library
parentf21b8dfc84068be404c1085f4f9eb7973762694f (diff)
downloadhomebrew-9c4e05b117282bc9df6594162d827159334f0c24.tar.bz2
Avoid intermediate array
Diffstat (limited to 'Library')
-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)