brew.sh: disable shellcheck warning

This commit is contained in:
Branch Vincent 2023-08-25 17:32:02 -07:00 committed by Mike McQuaid
parent aaf9091b21
commit a75568147e
No known key found for this signature in database
GPG Key ID: 3338A31AFDB1D829

View File

@ -594,7 +594,7 @@ then
else
HOMEBREW_PRODUCT="${HOMEBREW_SYSTEM}brew"
# Don't try to follow /etc/os-release
# shellcheck disable=SC1091
# shellcheck disable=SC1091,SC2154
[[ -n "${HOMEBREW_LINUX}" ]] && HOMEBREW_OS_VERSION="$(source /etc/os-release && echo "${PRETTY_NAME}")"
: "${HOMEBREW_OS_VERSION:=$(uname -r)}"
HOMEBREW_OS_USER_AGENT_VERSION="${HOMEBREW_OS_VERSION}"