Fix warning for HOMEBREW_REPOSITORY at /usr/local
This commit is contained in:
parent
fd0dffdd77
commit
ec03dcfe95
@ -278,6 +278,7 @@ EOS
|
|||||||
check-run-command-as-root
|
check-run-command-as-root
|
||||||
|
|
||||||
if [[ "$HOMEBREW_PREFIX" = "/usr/local" &&
|
if [[ "$HOMEBREW_PREFIX" = "/usr/local" &&
|
||||||
|
"$HOMEBREW_PREFIX" != "$HOMEBREW_REPOSITORY" &&
|
||||||
"$HOMEBREW_CELLAR" = "$HOMEBREW_REPOSITORY/Cellar" ]]
|
"$HOMEBREW_CELLAR" = "$HOMEBREW_REPOSITORY/Cellar" ]]
|
||||||
then
|
then
|
||||||
cat >&2 <<EOS
|
cat >&2 <<EOS
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user