Merge pull request #10778 from MikeMcQuaid/deprecate_no_env_filtering
Deprecate HOMEBREW_NO_ENV_FILTERING
This commit is contained in:
commit
1d0abd5401
2
bin/brew
2
bin/brew
@ -113,6 +113,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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user