brew.sh: set HOMEBREW_RUBY3 earlier
This commit is contained in:
parent
189d709c41
commit
6502524456
@ -502,6 +502,11 @@ case "$*" in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
if [[ -n "${HOMEBREW_DEVELOPER}" ]]
|
||||||
|
then
|
||||||
|
export HOMEBREW_RUBY3="1"
|
||||||
|
fi
|
||||||
|
|
||||||
# TODO: bump version when new macOS is released or announced and update references in:
|
# TODO: bump version when new macOS is released or announced and update references in:
|
||||||
# - docs/Installation.md
|
# - docs/Installation.md
|
||||||
# - https://github.com/Homebrew/install/blob/HEAD/install.sh
|
# - https://github.com/Homebrew/install/blob/HEAD/install.sh
|
||||||
@ -945,11 +950,6 @@ then
|
|||||||
export HOMEBREW_SORBET_RUNTIME="1"
|
export HOMEBREW_SORBET_RUNTIME="1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -n "${HOMEBREW_DEVELOPER}" ]]
|
|
||||||
then
|
|
||||||
export HOMEBREW_RUBY3="1"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -f "${HOMEBREW_LIBRARY}/Homebrew/cmd/${HOMEBREW_COMMAND}.sh" ]]
|
if [[ -f "${HOMEBREW_LIBRARY}/Homebrew/cmd/${HOMEBREW_COMMAND}.sh" ]]
|
||||||
then
|
then
|
||||||
HOMEBREW_BASH_COMMAND="${HOMEBREW_LIBRARY}/Homebrew/cmd/${HOMEBREW_COMMAND}.sh"
|
HOMEBREW_BASH_COMMAND="${HOMEBREW_LIBRARY}/Homebrew/cmd/${HOMEBREW_COMMAND}.sh"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user