Skip to content

Commit

Permalink
Merge pull request #15877 from MikeMcQuaid/brew_sh_shellcheck
Browse files Browse the repository at this point in the history
brew.sh: fix shellcheck warning.
  • Loading branch information
MikeMcQuaid authored Aug 16, 2023
2 parents 020508b + 6335728 commit f9382d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Library/Homebrew/brew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,8 @@ then
fi
else
HOMEBREW_PRODUCT="${HOMEBREW_SYSTEM}brew"
# Don't try to follow /etc/os-release
# shellcheck disable=SC1091
[[ -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}"
Expand Down

0 comments on commit f9382d8

Please sign in to comment.