From d3d4abdbb2bb9827550c63864aa3ea518cc763a0 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 4 Mar 2021 08:51:44 +0000 Subject: [PATCH] Deprecate HOMEBREW_NO_ENV_FILTERING It's undocumented so we don't need to do the full deprecation dance here but let's give people a bit of a head up. --- bin/brew | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/brew b/bin/brew index d93497ef3e..a10662297c 100755 --- a/bin/brew +++ b/bin/brew @@ -108,6 +108,8 @@ then exec /usr/bin/env -i "${FILTERED_ENV[@]}" /bin/bash "$HOMEBREW_LIBRARY/Homebrew/brew.sh" "$@" else + echo "Warning: HOMEBREW_NO_ENV_FILTERING is undocumented, deprecated and will be removed in a future Homebrew release (because it breaks many things)!" >&2 + # Don't need shellcheck to follow this `source`. # shellcheck disable=SC1090 source "$HOMEBREW_LIBRARY/Homebrew/brew.sh"