mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
brew list only lists files not directories
This commit is contained in:
parent
a2c723e326
commit
25c2f54ccf
2
bin/brew
2
bin/brew
@ -207,7 +207,7 @@ begin
|
|||||||
puts HOMEBREW_VERSION
|
puts HOMEBREW_VERSION
|
||||||
when 'list'
|
when 'list'
|
||||||
fae=shift_formulae_from_ARGV.collect {|name| ($cellar+name).to_s}
|
fae=shift_formulae_from_ARGV.collect {|name| ($cellar+name).to_s}
|
||||||
puts `find #{fae.join' '}`
|
puts `find #{fae.join' '} -type f -print`
|
||||||
when 'install'
|
when 'install'
|
||||||
shift_formulae_from_ARGV.each do |name|
|
shift_formulae_from_ARGV.each do |name|
|
||||||
beginning = Time.now
|
beginning = Time.now
|
||||||
|
Loading…
x
Reference in New Issue
Block a user