From d311fe666c12eecad972f9d79d558147371feb3e Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 31 Oct 2013 17:00:40 -0700 Subject: Allow configuring HOMEBREW_LOGS. --- Library/Homebrew/global.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index 1a5d2efaa..aa4f52a64 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -64,7 +64,7 @@ else HOMEBREW_REPOSITORY+"Cellar" 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_PATH = RUBY_BIN + RbConfig::CONFIG['ruby_install_name'] + RbConfig::CONFIG['EXEEXT'] -- cgit v1.2.3