diff options
| author | Mike McQuaid | 2018-02-12 16:38:10 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2018-02-12 16:41:21 +0000 |
| commit | a30c74987a1b10fbc5ab7b600e8f8769a34344f7 (patch) | |
| tree | 4b7f0a7f3138fe155eca015908cafa68ea419d64 /bin | |
| parent | e904983275eb17cde115f8f586a8e6502a9126d4 (diff) | |
| download | brew-a30c74987a1b10fbc5ab7b600e8f8769a34344f7.tar.bz2 | |
brew, diagnostic: tweak CI variable checks.
I've adjusted test-bot in:
https://github.com/Homebrew/homebrew-test-bot/commit/603918939a58a8d6351177fe35f0193b79549dfa
to set CI=1 for Jenkins to make future JENKINS_HOME checks unnecessary.
The only `TRAVIS_*` variable we care about is `TRAVIS_SUDO` so whitelist
that specifically rather than passing through loads of others.
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/brew | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -66,9 +66,9 @@ then FILTERED_ENV=() # Filter all but the specific variables. - for VAR in HOME SHELL PATH TERM LOGNAME USER CI TRAVIS SSH_AUTH_SOCK SUDO_ASKPASS \ + for VAR in HOME SHELL PATH TERM LOGNAME USER CI TRAVIS TRAVIS_SUDO SSH_AUTH_SOCK SUDO_ASKPASS \ http_proxy https_proxy ftp_proxy no_proxy all_proxy HTTPS_PROXY FTP_PROXY ALL_PROXY \ - "${!HOMEBREW_@}" "${!TRAVIS_@}" "${!JENKINS_@}" + "${!HOMEBREW_@}" do # Skip if variable value is empty. [[ -z "${!VAR}" ]] && continue |
