aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAdam Vandenberg2010-02-18 13:27:23 -0800
committerAdam Vandenberg2010-02-18 13:29:28 -0800
commit0887360e0b2ec770ccc1f2a36b44998f4c445a64 (patch)
treeea84cd18fbb522a87bb5d9603f2aef8bb3fafb88 /bin
parentf841047db9b62a4c843240567dacfb36d8ced2f1 (diff)
downloadhomebrew-0887360e0b2ec770ccc1f2a36b44998f4c445a64.tar.bz2
Add `brew --cellar` command.
The Cellar may not actually be "`brew --prefix`/Cellar". We support the Cellar existing only in the repo but not linked into the prefix, for installs that aren't directly in /usr/local (or other chosen prefix.)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brew2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/brew b/bin/brew
index 8dc7c0ae4..dfbc4e3dd 100755
--- a/bin/brew
+++ b/bin/brew
@@ -77,6 +77,8 @@ begin
puts HOMEBREW_PREFIX
when '--repository'
puts HOMEBREW_REPOSITORY
+ when '--cellar'
+ puts HOMEBREW_CELLAR
when '--config'
dump_config