VirtualBox driver can handle Windows-style newlines

This commit is contained in:
Mitchell Hashimoto 2012-01-07 13:13:17 -08:00
parent 4b52c39733
commit a7bde74cf3
1 changed files with 3 additions and 2 deletions

View File

@ -498,8 +498,9 @@ module Vagrant
end end
end end
# Return the output # Return the output, making sure to replace any Windows-style
r.stdout # newlines with Unix-style.
r.stdout.gsub("\r\n", "\n")
end end
# Executes a command and returns the raw result object. # Executes a command and returns the raw result object.