pull: more formulae fetch outside of main loop.
Closes Homebrew/homebrew#43313. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
451c69d9bd
commit
59bd08e992
@ -198,6 +198,18 @@ module Homebrew
|
||||
end
|
||||
end
|
||||
|
||||
ohai "Patch changed:"
|
||||
safe_system "git", "diff-tree", "-r", "--stat", revision, "HEAD"
|
||||
|
||||
if ARGV.include? "--install"
|
||||
changed_formulae.each do |f|
|
||||
ohai "Installing #{f.full_name}"
|
||||
install = f.installed? ? "upgrade" : "install"
|
||||
safe_system "brew", install, "--debug", f.full_name
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
bintray_fetch_formulae.each do |f|
|
||||
max_retries = 5
|
||||
retry_count = 0
|
||||
@ -213,17 +225,5 @@ module Homebrew
|
||||
retry
|
||||
end
|
||||
end
|
||||
|
||||
ohai "Patch changed:"
|
||||
safe_system "git", "diff-tree", "-r", "--stat", revision, "HEAD"
|
||||
|
||||
if ARGV.include? "--install"
|
||||
changed_formulae.each do |f|
|
||||
ohai "Installing #{f.full_name}"
|
||||
install = f.installed? ? "upgrade" : "install"
|
||||
safe_system "brew", install, "--debug", f.full_name
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user