diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb index 9af882a984..6ef014a60f 100755 --- a/Library/Contributions/cmd/brew-test-bot.rb +++ b/Library/Contributions/cmd/brew-test-bot.rb @@ -326,11 +326,11 @@ class Test installed_gcc = false begin - dependencies = formula_object.stable.deps + deps = formula_object.stable.deps if formula_object.devel && !ARGV.include?('--HEAD') - dependencies += formula_object.devel.deps + deps += formula_object.devel.deps end - dependencies.each {|f| CompilerSelector.new(f.to_formula).compiler } + deps.each {|f| CompilerSelector.new(f.to_formula).compiler } CompilerSelector.new(formula_object).compiler rescue CompilerSelectionError => e