diff options
| author | Jack Nagel | 2014-09-07 14:07:06 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-09-07 14:07:06 -0500 |
| commit | 9c4e05b117282bc9df6594162d827159334f0c24 (patch) | |
| tree | 01f8942ff279ba4411d95c62ecb7831ea0dc7d6e /Library | |
| parent | f21b8dfc84068be404c1085f4f9eb7973762694f (diff) | |
| download | homebrew-9c4e05b117282bc9df6594162d827159334f0c24.tar.bz2 | |
Avoid intermediate array
Diffstat (limited to 'Library')
| -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) |
