aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2013-10-31 17:00:40 -0700
committerMike McQuaid2013-10-31 17:02:20 -0700
commitf4ff34e18f4e4c9d89bfe3856bab7ca46904f85e (patch)
tree3cbd608767416fd5faaf398a205ce570d04bbff3 /Library
parent348de94b4bca74b47d410f0b05f8a5ed572603f0 (diff)
downloadhomebrew-f4ff34e18f4e4c9d89bfe3856bab7ca46904f85e.tar.bz2
Allow configuring HOMEBREW_LOGS.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/global.rb2
1 files changed, 1 insertions, 1 deletions
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']