lib/simple_provision/scp.rb in simple_provision-0.99.11 vs lib/simple_provision/scp.rb in simple_provision-0.99.12

- old
+ new

@@ -30,10 +30,10 @@ "mkdir tmp", "mkdir tmp/files", "mkdir tmp/scripts" ] - files.each { |f| cmds << "cp #{f} tmp/files/"} + files.each { |f| cmds << "cp -r #{f} tmp/files/"} scripts.each { |f| cmds << "cp #{f} tmp/scripts/" } cmds << "cd tmp && tar -czf #{FILENAME} files/ scripts/"