From 02758e32f0773c3552dca6d867b4c259de3d6f9a Mon Sep 17 00:00:00 2001 From: Paulo Bittencourt Date: Mon, 18 Nov 2013 12:47:10 -0500 Subject: [PATCH] fix indentation (using spaces instead of tabs) --- lib/vagrant-hostmanager/hosts_file.rb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/vagrant-hostmanager/hosts_file.rb b/lib/vagrant-hostmanager/hosts_file.rb index d0cf7c9..25ffb70 100644 --- a/lib/vagrant-hostmanager/hosts_file.rb +++ b/lib/vagrant-hostmanager/hosts_file.rb @@ -8,14 +8,13 @@ module VagrantPlugins if (machine.communicate.test("uname -s | grep SunOS")) realhostfile = '/etc/inet/hosts' - move_cmd = 'mv' + move_cmd = 'mv' elsif (machine.communicate.test("test -d $Env:SystemRoot")) - realhostfile = "#{ENV['WINDIR']}\\System32\\drivers\\etc\\hosts" - - move_cmd = 'mv -force' + realhostfile = "#{ENV['WINDIR']}\\System32\\drivers\\etc\\hosts" + move_cmd = 'mv -force' else realhostfile = '/etc/hosts' - move_cmd = 'mv' + move_cmd = 'mv' end # download and modify file with Vagrant-managed entries file = @global_env.tmp_path.join("hosts.#{machine.name}")