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
commit63d0a5bf75a228e489db753f31a11778a46d6736 (patch)
tree39cd2534a44a4fb20ef7cb5c3f7f0209f73f15c9 /Library
parent621bb0049fdcf4e91ffa6bf8ab6a7a074e1e440e (diff)
downloadbrew-63d0a5bf75a228e489db753f31a11778a46d6736.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