aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorDavid Christenson2017-11-27 23:51:24 -0700
committerDavid Christenson2017-11-29 15:30:57 -0700
commit489eae91bab62f1874bdaec119d62825b3a23f90 (patch)
tree548bad8516cd4c4ee1af040d60b8d47178968437 /bin
parenta907ecd8194fe16b10bf5b6dd8b6f6dc74524021 (diff)
downloadbrew-489eae91bab62f1874bdaec119d62825b3a23f90.tar.bz2
Include SSH_AUTH_SOCK in filtered environment
Include SSH_AUTH_SOCK (if set) in the filtered environment to avoid SSH issues with git.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brew2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/brew b/bin/brew
index c330831b6..e70c01fd7 100755
--- a/bin/brew
+++ b/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