aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2010-02-18 13:27:23 -0800
committerAdam Vandenberg2010-02-18 13:29:28 -0800
commit0d73cbbc5353327005ba57e5528efa4a522de82b (patch)
treedeaa242bb2db935647faf8b55c0918c4cd418d13
parent8cdb504b149afd5b0742a31cc1f04f0cf2ea93ec (diff)
downloadbrew-0d73cbbc5353327005ba57e5528efa4a522de82b.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.)
-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