diff options
| author | Mike McQuaid | 2016-10-12 20:38:37 +0100 |
|---|---|---|
| committer | GitHub | 2016-10-12 20:38:37 +0100 |
| commit | 62e44a1dac3ed9b9d57e3bac6f6a93143ed96a64 (patch) | |
| tree | 57aaf7c2969bbc99f686efe064705b827f77072c | |
| parent | 8efb585684cad75a0fd0eb531f94f80818ecb1d0 (diff) | |
| parent | ec03dcfe952c3948dc07d9b02e2b5a574ee7e3b8 (diff) | |
| download | brew-62e44a1dac3ed9b9d57e3bac6f6a93143ed96a64.tar.bz2 | |
Merge pull request #1274 from RasPhilCo/patch-1
Fix warning for HOMEBREW_REPOSITORY at /usr/local
| -rw-r--r-- | Library/Homebrew/brew.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/brew.sh b/Library/Homebrew/brew.sh index 923dd4fd8..cbf39d0d7 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 <<EOS |
