From ec03dcfe952c3948dc07d9b02e2b5a574ee7e3b8 Mon Sep 17 00:00:00 2001 From: RasPhilCo Date: Wed, 12 Oct 2016 10:33:47 -0700 Subject: [PATCH] Fix warning for HOMEBREW_REPOSITORY at /usr/local --- Library/Homebrew/brew.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/brew.sh b/Library/Homebrew/brew.sh index 923dd4fd85..cbf39d0d7d 100644 --- a/Library/Homebrew/brew.sh +++ b/Library/Homebrew/brew.sh @@ -278,6 +278,7 @@ EOS check-run-command-as-root if [[ "$HOMEBREW_PREFIX" = "/usr/local" && + "$HOMEBREW_PREFIX" != "$HOMEBREW_REPOSITORY" && "$HOMEBREW_CELLAR" = "$HOMEBREW_REPOSITORY/Cellar" ]] then cat >&2 <