mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
please shellcheck
This commit is contained in:
parent
a5b29a79e6
commit
3e0bb17780
2
bin/brew
2
bin/brew
@ -22,7 +22,7 @@ fi
|
||||
# Fail fast with concise message when requesting unfiltered environment.
|
||||
# This is basically odisabled so can be removed at any major release afterwards
|
||||
# and definitely if this is still here in 2023.
|
||||
if [ -n "${HOMEBREW_NO_ENV_FILTERING:-}" ]
|
||||
if [[ -n "${HOMEBREW_NO_ENV_FILTERING:-}" ]]
|
||||
then
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user