aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2016-09-20 08:42:30 +0100
committerMike McQuaid2016-09-20 08:42:30 +0100
commit622e858b6ec9717cc3d6e514fffeb6b070c73fef (patch)
treea72d95d39ba5d0323d455cb8d2ca64e83784017c
parentf62223cb8ab687fca15a60f9e2509d6a62e2d437 (diff)
downloadbrew-622e858b6ec9717cc3d6e514fffeb6b070c73fef.tar.bz2
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.
-rw-r--r--Library/Homebrew/dev-cmd/test-bot.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/dev-cmd/test-bot.rb b/Library/Homebrew/dev-cmd/test-bot.rb
index ce083850c..d20711588 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