mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
bin/brew: improve a comment.
This commit is contained in:
parent
2b363b904c
commit
0d1c7b9367
2
bin/brew
2
bin/brew
@ -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")"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user