bin/brew: improve a comment.

This commit is contained in:
Mike McQuaid 2024-05-14 00:20:30 +01:00
parent 2b363b904c
commit 0d1c7b9367
No known key found for this signature in database

View File

@ -76,7 +76,7 @@ then
HOMEBREW_REPOSITORY="${BREW_FILE_DIRECTORY%/*}" HOMEBREW_REPOSITORY="${BREW_FILE_DIRECTORY%/*}"
fi fi
# Try to find a /usr/local HOMEBREW_PREFIX where possible (for bottles) # Try to find a /usr/local HOMEBREW_PREFIX where possible (for macOS x86_64 bottles)
if [[ -L "/usr/local/bin/brew" && ! -L "${HOMEBREW_PREFIX}/Cellar" ]] if [[ -L "/usr/local/bin/brew" && ! -L "${HOMEBREW_PREFIX}/Cellar" ]]
then then
USR_LOCAL_BREW_FILE_DIRECTORY="$(symlink_target_directory "/usr/local/bin/brew" "/usr/local/bin")" USR_LOCAL_BREW_FILE_DIRECTORY="$(symlink_target_directory "/usr/local/bin/brew" "/usr/local/bin")"