aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2009-08-04 00:12:03 +0800
committerMax Howell2009-08-04 07:48:27 +0800
commiteda0dc174165fa652257b5c3683fb57fb9bbc8d4 (patch)
tree55dfe63740406483238f69d542d84b00a3682225
parentbfa17cc16c2641ca2b240c71dc5dcb1726b61a3d (diff)
downloadbrew-eda0dc174165fa652257b5c3683fb57fb9bbc8d4.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}'"