diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index 1a5d2efaa5..aa4f52a645 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']