Merge pull request #93 from colandre/master

Force move on linux systems
This commit is contained in:
Paulo Bittencourt 2014-05-16 00:57:50 -04:00
commit fc1fde759d
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ module VagrantPlugins
move_cmd = 'mv -force' move_cmd = 'mv -force'
else else
realhostfile = '/etc/hosts' realhostfile = '/etc/hosts'
move_cmd = 'mv' move_cmd = 'mv -f'
end end
# download and modify file with Vagrant-managed entries # download and modify file with Vagrant-managed entries
file = @global_env.tmp_path.join("hosts.#{machine.name}") file = @global_env.tmp_path.join("hosts.#{machine.name}")