brew list only lists files not directories

This commit is contained in:
Max Howell 2009-06-08 15:59:12 +01:00
parent a2c723e326
commit 25c2f54ccf

View File

@ -207,7 +207,7 @@ begin
puts HOMEBREW_VERSION
when 'list'
fae=shift_formulae_from_ARGV.collect {|name| ($cellar+name).to_s}
puts `find #{fae.join' '}`
puts `find #{fae.join' '} -type f -print`
when 'install'
shift_formulae_from_ARGV.each do |name|
beginning = Time.now