diff options
| author | Jack Nagel | 2013-12-14 09:35:58 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-12-14 09:35:58 -0600 |
| commit | 8e2e76d99a3fdf0fab6dbcef5af2ec21677a63c0 (patch) | |
| tree | 910a366a7e412d4efc57a3714c47a4012ae1ec28 /Library/Homebrew/global.rb | |
| parent | 1ed7284548d6e242667ece2d94f4da0b997ebc09 (diff) | |
| download | homebrew-8e2e76d99a3fdf0fab6dbcef5af2ec21677a63c0.tar.bz2 | |
Extract HOMEBREW_TEMP constant
Diffstat (limited to 'Library/Homebrew/global.rb')
| -rw-r--r-- | Library/Homebrew/global.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index aa4f52a64..3e0055747 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -66,6 +66,8 @@ end HOMEBREW_LOGS = Pathname.new(ENV['HOMEBREW_LOGS'] || '~/Library/Logs/Homebrew/').expand_path +HOMEBREW_TEMP = Pathname.new(ENV.fetch('HOMEBREW_TEMP', '/tmp')) + RUBY_BIN = Pathname.new(RbConfig::CONFIG['bindir']) RUBY_PATH = RUBY_BIN + RbConfig::CONFIG['ruby_install_name'] + RbConfig::CONFIG['EXEEXT'] |
