fix: allow running bin/brew with SHELLOPTS=nounset
A similar fix is already present on line 6.
This commit is contained in:
parent
9c88c39bae
commit
5db5c6e99a
2
bin/brew
2
bin/brew
@ -21,7 +21,7 @@ fi
|
|||||||
# Fail fast with concise message when requesting unfiltered environment.
|
# Fail fast with concise message when requesting unfiltered environment.
|
||||||
# This is basically odisabled so can be removed at any major release afterwards
|
# This is basically odisabled so can be removed at any major release afterwards
|
||||||
# and definitely if this is still here in 2023.
|
# and definitely if this is still here in 2023.
|
||||||
if [ -n "${HOMEBREW_NO_ENV_FILTERING}" ]
|
if [ -n "${HOMEBREW_NO_ENV_FILTERING:-}" ]
|
||||||
then
|
then
|
||||||
echo "Error: HOMEBREW_NO_ENV_FILTERING was deprecated for over a year and has now been removed (because it breaks many things)!" >&2
|
echo "Error: HOMEBREW_NO_ENV_FILTERING was deprecated for over a year and has now been removed (because it breaks many things)!" >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user