Fix warning for HOMEBREW_REPOSITORY at /usr/local

This commit is contained in:
RasPhilCo 2016-10-12 10:33:47 -07:00 committed by GitHub
parent fd0dffdd77
commit ec03dcfe95

View File

@ -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