diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb index 1b81585329..3ea35b96ec 100755 --- a/Library/Contributions/cmd/brew-test-bot.rb +++ b/Library/Contributions/cmd/brew-test-bot.rb @@ -284,7 +284,7 @@ class Test install_args = '--verbose' install_args << ' --build-bottle' unless ARGV.include? '--no-bottle' install_args << ' --HEAD' if ARGV.include? '--HEAD' - test "brew install --only-dependencies #{formula}" unless dependencies.empty? + test "brew install --only-dependencies #{install_args} #{formula}" unless dependencies.empty? test "brew install #{install_args} #{formula}" install_passed = steps.last.passed? test "brew audit #{formula}"