diff options
author | Thom May <thom@may.lt> | 2016-03-30 18:23:47 +0100 |
---|---|---|
committer | Thom May <thom@may.lt> | 2016-03-30 18:23:47 +0100 |
commit | 7ebc592921488254c0741e1b421f68aed360b328 (patch) | |
tree | 4b82ff1291fe80074425c5b7fa0fd053ce9eae06 /lib | |
parent | c66eeb9abc9c43470fba130c3e2cc33f930667d2 (diff) | |
parent | 1d06770397bb1017b03333b8a7b4feec549e8412 (diff) | |
download | chef-7ebc592921488254c0741e1b421f68aed360b328.tar.gz |
Merge pull request #4716 from gips0n/unset_TMPDIR_for_homebrew
fix for #4715 - unset TMPDIR in homebrew package provider
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/provider/package/homebrew.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/homebrew.rb b/lib/chef/provider/package/homebrew.rb index 853a354b28..a105f6d7d0 100644 --- a/lib/chef/provider/package/homebrew.rb +++ b/lib/chef/provider/package/homebrew.rb @@ -127,7 +127,7 @@ class Chef Chef::Log.debug "Executing '#{command}' as user '#{homebrew_user.name}'" # FIXME: this 1800 second default timeout should be deprecated - output = shell_out_with_timeout!(command, :timeout => 1800, :user => homebrew_uid, :environment => { "HOME" => homebrew_user.dir, "RUBYOPT" => nil }) + output = shell_out_with_timeout!(command, :timeout => 1800, :user => homebrew_uid, :environment => { "HOME" => homebrew_user.dir, "RUBYOPT" => nil, "TMPDIR" => nil }) output.stdout.chomp end |