diff options
| author | Jack Nagel | 2014-04-14 19:07:26 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-04-14 19:08:09 -0500 |
| commit | 80d310aa02829348429b7e98afe569108f756af3 (patch) | |
| tree | d538859655b317def0c4aaebce4f1bc04e77e20b /Library | |
| parent | a1bd7632ef37487a23f9cd4baeb47408acbeeed5 (diff) | |
| download | homebrew-80d310aa02829348429b7e98afe569108f756af3.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 |
