aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2017-11-17 17:48:40 +0000
committerGitHub2017-11-17 17:48:40 +0000
commitac33c05344b5436edff5d94abc816cc615c23a66 (patch)
treeb0c2b8006436910f15ad89c9e0b3a260f344caf5
parent2953493d173c17828e9a94d3148bbaf2859367a6 (diff)
parentc86299188f31439ff428b0450487fa52b66b8e28 (diff)
downloadbrew-ac33c05344b5436edff5d94abc816cc615c23a66.tar.bz2
Merge pull request #3450 from MikeMcQuaid/env-filtering-no-test-bot
bin/brew: no environment filtering on test-bot.
-rwxr-xr-xbin/brew3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/brew b/bin/brew
index bb0551c53..a6cf10853 100755
--- a/bin/brew
+++ b/bin/brew
@@ -59,7 +59,8 @@ do
export "$VAR_NEW"="${!VAR}"
done
-if [[ -n "$HOMEBREW_ENV_FILTERING" ]]
+# test-bot sets environment filtering itself
+if [[ -n "$HOMEBREW_ENV_FILTERING" && "$1" != "test-bot" ]]
then
PATH="/usr/bin:/bin:/usr/sbin:/sbin"