mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Fix brew --cache
Signed-off-by: Max Howell <max@methylblue.com>
This commit is contained in:
parent
bfa17cc16c
commit
eda0dc1741
2
bin/brew
2
bin/brew
@ -194,7 +194,7 @@ end
|
|||||||
begin
|
begin
|
||||||
case ARGV.shift
|
case ARGV.shift
|
||||||
when '--prefix' then puts prefix
|
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 '-h', '--help', '--usage', '-?' then puts usage
|
||||||
when '-v', '--version' then puts HOMEBREW_VERSION
|
when '-v', '--version' then puts HOMEBREW_VERSION
|
||||||
when 'macports' then exec "open 'http://www.macports.org/ports.php?by=name&substr=#{ARGV.shift}'"
|
when 'macports' then exec "open 'http://www.macports.org/ports.php?by=name&substr=#{ARGV.shift}'"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user