aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2011-06-07 13:37:59 -0700
committerAdam Vandenberg2011-06-07 13:38:38 -0700
commitc92ed8eb04311c84649a3217cd5863ea4d0f2871 (patch)
tree9ede330699062f3945f365510dcdb13a1e18d263
parent6495505f88527cf5ae327026987d47ce7be90be5 (diff)
downloadbrew-c92ed8eb04311c84649a3217cd5863ea4d0f2871.tar.bz2
Document HOMEBREW_CACHE
-rw-r--r--Library/Contributions/manpages/brew.1.md7
-rw-r--r--share/man/man1/brew.17
2 files changed, 14 insertions, 0 deletions
diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md
index 0295a9eed..511bd2745 100644
--- a/Library/Contributions/manpages/brew.1.md
+++ b/Library/Contributions/manpages/brew.1.md
@@ -274,6 +274,13 @@ Some sample commands ship with Homebrew and are enabled by default.
## ENVIRONMENT
+ * HOMEBREW\_CACHE:
+ If set, instructs Homebrew to use the give folder as the download cache.
+ Otherwise, `~/Library/Caches/Homebrew` is used.
+
+ This can be used to keep downloads out of your home folder, if you have
+ it mounted on an SSD for instance.
+
* HOMEBREW\_DEBUG:
If set, instructs Homebrew to always assume `--debug` when running
commands.
diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1
index 986e2bfe2..388f9389c 100644
--- a/share/man/man1/brew.1
+++ b/share/man/man1/brew.1
@@ -308,6 +308,13 @@ $ ls `brew \-\-repository`/Library/Contributions/examples
.SH "ENVIRONMENT"
.
.TP
+HOMEBREW_CACHE
+If set, instructs Homebrew to use the give folder as the download cache\. Otherwise, \fB~/Library/Caches/Homebrew\fR is used\.
+.
+.IP
+This can be used to keep downloads out of your home folder, if you have it mounted on an SSD for instance\.
+.
+.TP
HOMEBREW_DEBUG
If set, instructs Homebrew to always assume \fB\-\-debug\fR when running commands\.
.