fix indentation (using spaces instead of tabs)

This commit is contained in:
Paulo Bittencourt 2013-11-18 12:47:10 -05:00
parent a426b8503a
commit 02758e32f0
1 changed files with 4 additions and 5 deletions

View File

@ -8,14 +8,13 @@ module VagrantPlugins
if (machine.communicate.test("uname -s | grep SunOS")) if (machine.communicate.test("uname -s | grep SunOS"))
realhostfile = '/etc/inet/hosts' realhostfile = '/etc/inet/hosts'
move_cmd = 'mv' move_cmd = 'mv'
elsif (machine.communicate.test("test -d $Env:SystemRoot")) elsif (machine.communicate.test("test -d $Env:SystemRoot"))
realhostfile = "#{ENV['WINDIR']}\\System32\\drivers\\etc\\hosts" realhostfile = "#{ENV['WINDIR']}\\System32\\drivers\\etc\\hosts"
move_cmd = 'mv -force'
move_cmd = 'mv -force'
else else
realhostfile = '/etc/hosts' realhostfile = '/etc/hosts'
move_cmd = 'mv' move_cmd = 'mv'
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}")