aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"