bin/brew: no environment filtering on test-bot.

test-bot sets environment filtering itself.
This commit is contained in:
Mike McQuaid 2017-11-17 14:43:05 +00:00
parent 2953493d17
commit c86299188f

View File

@ -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"