Do expand_path in FileUtils.cp, where it really matters.

This commit is contained in:
Brad Greenlee 2012-01-11 17:55:18 -08:00 committed by Mitchell Hashimoto
parent f1d5fe27ab
commit 0181b167f6
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ module Vagrant
def download!(source_url, destination_file)
@ui.info I18n.t("vagrant.downloaders.file.download")
FileUtils.cp(source_url, destination_file.path)
FileUtils.cp(::File.expand_path(source_url), destination_file.path)
end
end
end