aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2009-08-04 00:12:03 +0800
committerMax Howell2009-08-04 07:48:27 +0800
commitbc953fbb9d17ef88dbcecc212bd597d0d51d0666 (patch)
treefa252fd93326fea5baabca68df11d05a9d3e023d
parentbb7b9d988db41444608f2788b96b8f908a434dd5 (diff)
downloadhomebrew-bc953fbb9d17ef88dbcecc212bd597d0d51d0666.tar.bz2
Fix brew --cache
Signed-off-by: Max Howell <max@methylblue.com>
-rwxr-xr-xbin/brew2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/brew b/bin/brew
index 6856f28f0..461fe307b 100755
--- a/bin/brew
+++ b/bin/brew
@@ -194,7 +194,7 @@ end
begin
case ARGV.shift
when '--prefix' then puts prefix
- when '--cache' then puts Homebrew::cache
+ when '--cache' then puts HOMEBREW_CACHE
when '-h', '--help', '--usage', '-?' then puts usage
when '-v', '--version' then puts HOMEBREW_VERSION
when 'macports' then exec "open 'http://www.macports.org/ports.php?by=name&substr=#{ARGV.shift}'"