brew: Make HOMEBREW_LIBRARY based off of HOMEBREW_REPOSITORY
This makes the logic match the Ruby code from before it was moved here (see 390e327f55126f7ee9519bc6c03a0c0aa14f7168)
This commit is contained in:
parent
9e32aede10
commit
94034a6915
2
bin/brew
2
bin/brew
@ -16,6 +16,6 @@ fi
|
|||||||
|
|
||||||
HOMEBREW_PREFIX="${HOMEBREW_BREW_FILE%/*/*}"
|
HOMEBREW_PREFIX="${HOMEBREW_BREW_FILE%/*/*}"
|
||||||
HOMEBREW_REPOSITORY="${BREW_FILE_DIRECTORY%/*}"
|
HOMEBREW_REPOSITORY="${BREW_FILE_DIRECTORY%/*}"
|
||||||
HOMEBREW_LIBRARY="${BREW_FILE_DIRECTORY%/*}/Library"
|
HOMEBREW_LIBRARY="$HOMEBREW_REPOSITORY/Library"
|
||||||
|
|
||||||
source "$HOMEBREW_LIBRARY/brew.sh"
|
source "$HOMEBREW_LIBRARY/brew.sh"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user