Unset HOMEBREW_RUBY3 after updates
This commit is contained in:
parent
d68e3e563e
commit
e19c3e1f13
@ -358,6 +358,8 @@ auto-update() {
|
||||
# Restore user path as it'll be refiltered by HOMEBREW_BREW_FILE (bin/brew)
|
||||
export PATH=${HOMEBREW_PATH}
|
||||
|
||||
unset HOMEBREW_RUBY3
|
||||
|
||||
# exec a new process to set any new environment variables.
|
||||
exec "${HOMEBREW_BREW_FILE}" "$@"
|
||||
fi
|
||||
|
||||
@ -893,7 +893,10 @@ EOS
|
||||
[[ ! -f "${HOMEBREW_CACHE}/all_commands_list.txt" ]] ||
|
||||
[[ -n "${HOMEBREW_DEVELOPER}" && -z "${HOMEBREW_UPDATE_AUTO}" ]]
|
||||
then
|
||||
brew update-report "$@"
|
||||
(
|
||||
unset HOMEBREW_RUBY3
|
||||
brew update-report "$@"
|
||||
)
|
||||
return $?
|
||||
elif [[ -z "${HOMEBREW_UPDATE_AUTO}" && -z "${HOMEBREW_QUIET}" ]]
|
||||
then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user