lib/dpl/provider.rb in dpl-1.7.20.travis.952.4 vs lib/dpl/provider.rb in dpl-1.7.20.travis.954.4
- old
+ new
@@ -194,10 +194,10 @@
key_path = File.expand_path(key_path)
path = File.expand_path(path)
File.open(path, 'w') do |file|
file.write "#!/bin/sh\n"
- file.write "exec ssh -o StrictHostKeychecking=no -o CheckHostIP=no -o UserKnownHostsFile=/dev/null -i #{key_path} \"$@\"\n"
+ file.write "exec ssh -o StrictHostKeychecking=no -o CheckHostIP=no -o UserKnownHostsFile=/dev/null -i #{key_path} -- \"$@\"\n"
end
chmod(0740, path)
context.env['GIT_SSH'] = path
end