Merge pull request #3450 from MikeMcQuaid/env-filtering-no-test-bot

bin/brew: no environment filtering on test-bot.
This commit is contained in:
Mike McQuaid 2017-11-17 17:48:40 +00:00 committed by GitHub
commit ac33c05344
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"