mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
Merge pull request #4893 from mitchellh/sethvargo/revert_tmpdir_changes
Revert "Merge pull request #4861 from obfusk/fix-tmpdir-delete"
This commit is contained in:
commit
ddf3435aee
1 changed files with 3 additions and 4 deletions
|
|
@ -1,4 +1,3 @@
|
|||
require "fileutils"
|
||||
require "monitor"
|
||||
require "pathname"
|
||||
require "set"
|
||||
|
|
@ -80,9 +79,9 @@ module Vagrant
|
|||
|
||||
# Removes any temporary files created by init
|
||||
def deinit
|
||||
%w{ BUNDLE_APP_CONFIG BUNDLE_CONFIG BUNDLE_GEMFILE }.each do |entry|
|
||||
FileUtils.remove_entry_secure(ENV[entry], true)
|
||||
end
|
||||
File.unlink(ENV["BUNDLE_APP_CONFIG"]) rescue nil
|
||||
File.unlink(ENV["BUNDLE_CONFIG"]) rescue nil
|
||||
File.unlink(ENV["GEMFILE"]) rescue nil
|
||||
end
|
||||
|
||||
# Installs the list of plugins.
|
||||
|
|
|
|||
Loading…
Reference in a new issue