mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Include SSH_AUTH_SOCK in filtered environment
Include SSH_AUTH_SOCK (if set) in the filtered environment to avoid SSH issues with git.
This commit is contained in:
parent
a907ecd819
commit
489eae91ba
2
bin/brew
2
bin/brew
@ -88,7 +88,7 @@ then
|
||||
PATH="/usr/bin:/bin:/usr/sbin:/sbin"
|
||||
|
||||
FILTERED_ENV=()
|
||||
for VAR in HOME SHELL PATH TERM LOGNAME USER CI TRAVIS SUDO_ASKPASS \
|
||||
for VAR in HOME SHELL PATH TERM LOGNAME USER CI TRAVIS SSH_AUTH_SOCK SUDO_ASKPASS \
|
||||
http_proxy https_proxy ftp_proxy HTTPS_PROXY FTP_PROXY \
|
||||
"${!HOMEBREW_@}" "${!TRAVIS_@}" "${!JENKINS_@}"
|
||||
do
|
||||
|
Loading…
x
Reference in New Issue
Block a user