diff options
| author | Mike McQuaid | 2013-10-31 17:00:40 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2013-10-31 17:02:20 -0700 |
| commit | d311fe666c12eecad972f9d79d558147371feb3e (patch) | |
| tree | d5a391319aaf670cabc287bec4477e9ab03cf534 | |
| parent | 37e2005e792a9f6d3e7597e06eb4dc9bb822b5b9 (diff) | |
| download | brew-d311fe666c12eecad972f9d79d558147371feb3e.tar.bz2 | |
Allow configuring HOMEBREW_LOGS.
| -rw-r--r-- | Library/Homebrew/global.rb | 2 |
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'] |
