Allow configuring HOMEBREW_LOGS.

This commit is contained in:
Mike McQuaid 2013-10-31 17:00:40 -07:00
parent 37e2005e79
commit d311fe666c

View File

@ -64,7 +64,7 @@ else
HOMEBREW_REPOSITORY+"Cellar" HOMEBREW_REPOSITORY+"Cellar"
end end
HOMEBREW_LOGS = Pathname.new('~/Library/Logs/Homebrew/').expand_path HOMEBREW_LOGS = Pathname.new(ENV['HOMEBREW_LOGS'] || '~/Library/Logs/Homebrew/').expand_path
RUBY_BIN = Pathname.new(RbConfig::CONFIG['bindir']) RUBY_BIN = Pathname.new(RbConfig::CONFIG['bindir'])
RUBY_PATH = RUBY_BIN + RbConfig::CONFIG['ruby_install_name'] + RbConfig::CONFIG['EXEEXT'] RUBY_PATH = RUBY_BIN + RbConfig::CONFIG['ruby_install_name'] + RbConfig::CONFIG['EXEEXT']