mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
All vcs strategies support cached_download
This commit is contained in:
parent
06c7f4a29d
commit
b602128a83
2
bin/brew
2
bin/brew
@ -81,7 +81,7 @@ begin
|
|||||||
if ARGV.named.empty?
|
if ARGV.named.empty?
|
||||||
puts HOMEBREW_CACHE
|
puts HOMEBREW_CACHE
|
||||||
else
|
else
|
||||||
puts *ARGV.formulae.collect {|f| f.cached_download rescue '(built from source control)'}
|
puts *ARGV.formulae.collect {|f| f.cached_download}
|
||||||
end
|
end
|
||||||
when '--prefix'
|
when '--prefix'
|
||||||
if ARGV.named.empty?
|
if ARGV.named.empty?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user