add ALL_PROXY for brew

Signed-off-by: xiehuc <xiehuc@gmail.com>
This commit is contained in:
xiehuc 2018-01-30 15:36:16 +08:00
parent c77cafcf82
commit a214387358

View File

@ -67,7 +67,7 @@ then
FILTERED_ENV=() FILTERED_ENV=()
# Filter all but the specific variables. # 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 SSH_AUTH_SOCK SUDO_ASKPASS \
http_proxy https_proxy ftp_proxy no_proxy HTTPS_PROXY FTP_PROXY \ http_proxy https_proxy ftp_proxy no_proxy HTTPS_PROXY FTP_PROXY ALL_PROXY \
"${!HOMEBREW_@}" "${!TRAVIS_@}" "${!JENKINS_@}" "${!HOMEBREW_@}" "${!TRAVIS_@}" "${!JENKINS_@}"
do do
# Skip if variable value is empty. # Skip if variable value is empty.