diff --git a/lib/vagrant-certificates/action/install_certificates.rb b/lib/vagrant-certificates/action/install_certificates.rb index 0e58ad2..524a19a 100644 --- a/lib/vagrant-certificates/action/install_certificates.rb +++ b/lib/vagrant-certificates/action/install_certificates.rb @@ -80,7 +80,7 @@ def upload_certificate(from, to) sh.upload(from.to_s, tmp_to.to_s) # remote.path will build a "C:\" URI on windows, cp to ~ and move. case @machine.guest.name when :windows - sh.sudo("Move-Item -path #{tmp_to}/* -Destination #{to} -Force") + sh.sudo("Move-Item -path #{tmp_to} -Destination #{to} -Force") else sh.sudo("mv #{tmp_to} #{to} && chown root: #{to} && chmod 0644 #{to}") end