brew-test-bot: fix fetch options spacing.

This commit is contained in:
Mike McQuaid 2013-10-12 18:12:18 +01:00
parent cf2a8913c5
commit 4f3decd528

View File

@ -264,10 +264,10 @@ class Test
end
test "brew fetch #{dependencies}" unless dependencies.empty?
formula_fetch_options = ""
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#{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'