More explanation of HOMEBREW_{CELLAR,PREFIX,REPOSITORY}
Closes Homebrew/homebrew#39447. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
dd1a9e11ab
commit
5345c06e63
@ -440,7 +440,8 @@ Note that these flags should only appear after a command.
|
|||||||
Display the file or directory used to cache <formula>.
|
Display the file or directory used to cache <formula>.
|
||||||
|
|
||||||
* `--cellar`:
|
* `--cellar`:
|
||||||
Display Homebrew's Cellar path. *Default:* `/usr/local/Cellar`
|
Display Homebrew's Cellar path. *Default:* `$(brew --prefix)/Cellar`, or if
|
||||||
|
that directory doesn't exist, `$(brew --repository)/Cellar`.
|
||||||
|
|
||||||
* `--cellar` <formula>:
|
* `--cellar` <formula>:
|
||||||
Display the location in the cellar where <formula> would be installed,
|
Display the location in the cellar where <formula> would be installed,
|
||||||
|
|||||||
@ -31,7 +31,7 @@ A shell script for an command named `extcmd` should be named `brew-extcmd`. This
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>HOMEBREW_CELLAR</td>
|
<td>HOMEBREW_CELLAR</td>
|
||||||
<td>The location of the Homebrew Cellar, where software is staged, by default <code>/usr/local/Cellar</code>.</td>
|
<td>The location of the Homebrew Cellar, where software is staged. This will be <code>$HOMEBREW_PREFIX/Cellar</code> if that directory exists, or <code>$HOMEBREW_REPOSITORY/Cellar</code> otherwise.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>HOMEBREW_LIBRARY_PATH</td>
|
<td>HOMEBREW_LIBRARY_PATH</td>
|
||||||
@ -39,7 +39,7 @@ A shell script for an command named `extcmd` should be named `brew-extcmd`. This
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>HOMEBREW_PREFIX</td>
|
<td>HOMEBREW_PREFIX</td>
|
||||||
<td>Where Homebrew installs software to, by default <code>/usr/local</code>.</td>
|
<td>Where Homebrew installs software. This is always the grandparent directory of the `brew` executable, <code>/usr/local</code> by default.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>HOMEBREW_REPOSITORY</td>
|
<td>HOMEBREW_REPOSITORY</td>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user