aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-05-16 17:48:12 -0500
committerJack Nagel2013-05-16 17:48:12 -0500
commit64810fbc84f8b97cce76d4120a4dabe21e7b20df (patch)
tree1841e50fc8a34d6e49dfcc2db5dc281575162c31 /Library
parent7462ec4e4243c97f6f8408dc091ad36487d33d8b (diff)
downloadhomebrew-64810fbc84f8b97cce76d4120a4dabe21e7b20df.tar.bz2
Use subdirs to avoid checking for .DS_Store
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index c5a7ac71a..ae5fe3f5e 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -529,8 +529,7 @@ class Formula
end
if rack.directory?
- rack.children.each do |keg|
- next if keg.basename.to_s == '.DS_Store'
+ rack.subdirs.each do |keg|
tab = Tab.for_keg keg
hsh["installed"] << {