From 281494c2556febe95fe64357577cd713846fcbf4 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 1 Mar 2014 12:28:54 +0000 Subject: brew-test-bot: use fetch --retry. Closes Homebrew/homebrew#27110. Signed-off-by: Mike McQuaid --- Library/Contributions/cmd/brew-test-bot.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Library') diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb index d0d6ac497..c55c55b0a 100755 --- a/Library/Contributions/cmd/brew-test-bot.rb +++ b/Library/Contributions/cmd/brew-test-bot.rb @@ -275,11 +275,11 @@ class Test test "brew install apple-gcc42" end - test "brew fetch #{dependencies}" unless dependencies.empty? + test "brew fetch --retry #{dependencies}" unless dependencies.empty? formula_fetch_options = " " formula_fetch_options << " --build-bottle" unless ARGV.include? '--no-bottle' formula_fetch_options << " --force" if ARGV.include? '--cleanup' - test "brew fetch#{formula_fetch_options} #{formula}" + test "brew fetch --retry#{formula_fetch_options} #{formula}" test "brew uninstall --force #{formula}" if formula_object.installed? install_args = '--verbose' install_args << ' --build-bottle' unless ARGV.include? '--no-bottle' @@ -303,7 +303,7 @@ class Test test "brew uninstall --force #{formula}" end if formula_object.devel and not ARGV.include? '--HEAD' - test "brew fetch --devel#{formula_fetch_options} #{formula}" + test "brew fetch --retry --devel#{formula_fetch_options} #{formula}" test "brew install --devel --verbose #{formula}" devel_install_passed = steps.last.passed? test "brew audit --devel #{formula}" -- cgit v1.2.3