aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-04-14 19:07:26 -0500
committerJack Nagel2014-04-14 19:08:09 -0500
commit80d310aa02829348429b7e98afe569108f756af3 (patch)
treed538859655b317def0c4aaebce4f1bc04e77e20b /Library
parenta1bd7632ef37487a23f9cd4baeb47408acbeeed5 (diff)
downloadhomebrew-80d310aa02829348429b7e98afe569108f756af3.tar.bz2
Don't walk tap twice just to get the formula path again, it's slow
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmd/brew-readall.rb2
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