lib/dumpdb/settings.rb in dumpdb-1.0.1 vs lib/dumpdb/settings.rb in dumpdb-1.0.2

- old
+ new

@@ -60,9 +60,10 @@ class DumpCmd < Cmd def value(script, placeholder_vals={}) val = super(script, script.source.to_hash.merge(placeholder_vals)) if script.ssh? + val = val.gsub("\\", "\\\\\\").gsub('"', '\"') val = "ssh -A #{script.ssh_opts} #{script.ssh} \"#{val}\"" end val end