Merge pull request #15912 from branchvincent/style

brew.sh: disable shellcheck warning
This commit is contained in:
Mike McQuaid 2023-08-26 13:01:14 +01:00 committed by GitHub
commit 54d7f0cefd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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}"