please shellcheck

This commit is contained in:
Kai Hoewelmeyer 2022-11-28 19:54:30 +01:00
parent a5b29a79e6
commit 3e0bb17780

View File

@ -22,7 +22,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