Merge pull request #18260 from tshu-w/master

This commit is contained in:
Mike McQuaid 2024-09-05 10:12:04 +01:00 committed by GitHub
commit 019b0f50fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

@ -28,6 +28,8 @@ module Homebrew
sig { override.void }
def run
ENV["COLORTERM"] = ENV.fetch("HOMEBREW_COLORTERM", nil)
# Recover $TMPDIR for emacsclient
ENV["TMPDIR"] = ENV.fetch("HOMEBREW_TMPDIR", nil)
unless (HOMEBREW_REPOSITORY/".git").directory?
odie <<~EOS

View File

@ -193,6 +193,7 @@ USED_BY_HOMEBREW_VARS=(
RBENV_ROOT
SSH_TTY
SUDO_USER
TMPDIR
TMUX
XDG_CACHE_HOME
XDG_DATA_DIRS