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
# Return the output
r.stdout
# Return the output, making sure to replace any Windows-style
# newlines with Unix-style.
r.stdout.gsub("\r\n", "\n")
end
# Executes a command and returns the raw result object.