mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
bin/brew: remove HOMEBREW_NO_ENV_FILTERING
error
This commit is contained in:
parent
bb23116d3c
commit
a7e23a27ae
9
bin/brew
9
bin/brew
@ -19,15 +19,6 @@ then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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:-}" ]]
|
|
||||||
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
|
|
||||||
fi
|
|
||||||
|
|
||||||
quiet_cd() {
|
quiet_cd() {
|
||||||
cd "$@" &>/dev/null || return
|
cd "$@" &>/dev/null || return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user