diff options
| author | Jack Nagel | 2014-04-14 19:07:26 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-04-14 19:08:09 -0500 |
| commit | 63d0a5bf75a228e489db753f31a11778a46d6736 (patch) | |
| tree | 39cd2534a44a4fb20ef7cb5c3f7f0209f73f15c9 /Library | |
| parent | 621bb0049fdcf4e91ffa6bf8ab6a7a074e1e440e (diff) | |
| download | brew-63d0a5bf75a228e489db753f31a11778a46d6736.tar.bz2 | |
Don't walk tap twice just to get the formula path again, it's slow
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/cmd/brew-readall.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Contributions/cmd/brew-readall.rb b/Library/Contributions/cmd/brew-readall.rb index d0bc4ed22..5316fbbd6 100755 --- a/Library/Contributions/cmd/brew-readall.rb +++ b/Library/Contributions/cmd/brew-readall.rb @@ -16,7 +16,7 @@ else tap = Pathname("#{HOMEBREW_LIBRARY}/Taps/#{tap_dir}") raise "#{tap} does not exist!" unless tap.exist? tap.find_formula do |f| - formulae << (tap/f).tap_ref + formulae << tap/f end end |
