diff options
| author | RasPhilCo | 2016-10-12 10:33:47 -0700 | 
|---|---|---|
| committer | GitHub | 2016-10-12 10:33:47 -0700 | 
| commit | ec03dcfe952c3948dc07d9b02e2b5a574ee7e3b8 (patch) | |
| tree | 5eeb08cc0a4c611ad9ae415969a4e499efe8cb45 | |
| parent | fd0dffdd778370c2ab2a6b3e03a28ba0e1cc2d8a (diff) | |
| download | brew-ec03dcfe952c3948dc07d9b02e2b5a574ee7e3b8.tar.bz2 | |
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  | 
