Use HOMEBREW_REPOSITORY for brew log

This commit is contained in:
Max Howell 2009-10-26 18:21:30 +00:00
parent 8f46b32d26
commit 3d89578b5c

View File

@ -217,7 +217,7 @@ begin
end
when 'log'
Dir.chdir HOMEBREW_PREFIX
Dir.chdir HOMEBREW_REPOSITORY
exec "git", "log", ARGV.formulae.first.path, *ARGV.options
else