brew-test-bot: don't pass formula name to fetch twice

This commit is contained in:
Jack Nagel 2014-06-18 23:32:13 -05:00
parent 2afad083ee
commit 1cd31db1a8

View File

@ -326,7 +326,7 @@ class Test
formula_fetch_options << "--build-bottle" unless ARGV.include? "--no-bottle"
formula_fetch_options << "--force" if ARGV.include? "--cleanup"
formula_fetch_options << formula
test "brew", "fetch", formula, "--retry", *formula_fetch_options
test "brew", "fetch", "--retry", *formula_fetch_options
test "brew", "uninstall", "--force", formula if formula_object.installed?
install_args = %w[--verbose]
install_args << "--build-bottle" unless ARGV.include? "--no-bottle"