diff options
| author | Jack Nagel | 2014-09-07 14:07:06 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-09-07 14:07:06 -0500 |
| commit | d0ecd08c90be87780e8b911aa8659ae3dd10cf6c (patch) | |
| tree | 16104af6e4bdf21b855137a76ec8138a85c0b75f | |
| parent | 829b6289f53c8ea34ae2752923bf76fd6bada820 (diff) | |
| download | brew-d0ecd08c90be87780e8b911aa8659ae3dd10cf6c.tar.bz2 | |
Avoid intermediate array
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 |
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) |
