From cc905d7923c0cfc9bef88ddebbfe6a176eefc822 Mon Sep 17 00:00:00 2001 From: Shawn Neal Date: Wed, 30 Apr 2014 19:39:37 -0700 Subject: [PATCH] Fix remote/downloaded shell scripts The temporary shell script that we downloaded the script too was being deleted twice, thus causing an error on the secondary delete. --- plugins/provisioners/shell/provisioner.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/provisioners/shell/provisioner.rb b/plugins/provisioners/shell/provisioner.rb index d3f22a8d0..17034fa7b 100644 --- a/plugins/provisioners/shell/provisioner.rb +++ b/plugins/provisioners/shell/provisioner.rb @@ -141,8 +141,6 @@ module VagrantPlugins ensure download_path.delete if download_path.file? end - - download_path.delete elsif config.path # Just yield the path to that file... root_path = @machine.env.root_path