From 622e858b6ec9717cc3d6e514fffeb6b070c73fef Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 20 Sep 2016 08:42:30 +0100 Subject: [PATCH] test-bot: always set PATH to HOMEBREW_PREFIX. Set the `PATH` to always have the `bin` and `sbin` for the current `HOMEBREW_PREFIX` at the beginning. --- Library/Homebrew/dev-cmd/test-bot.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/dev-cmd/test-bot.rb b/Library/Homebrew/dev-cmd/test-bot.rb index ce083850c7..d207115888 100644 --- a/Library/Homebrew/dev-cmd/test-bot.rb +++ b/Library/Homebrew/dev-cmd/test-bot.rb @@ -1021,6 +1021,7 @@ module Homebrew ENV["HOMEBREW_NO_EMOJI"] = "1" ENV["HOMEBREW_FAIL_LOG_LINES"] = "150" ENV["HOMEBREW_EXPERIMENTAL_FILTER_FLAGS_ON_DEPS"] = "1" + ENV["PATH"] = "#{HOMEBREW_PREFIX}/bin:#{HOMEBREW_PREFIX}/sbin:#{ENV["PATH"]}" travis = !ENV["TRAVIS"].nil? if travis