blob: 37174f6114e9e1d59748a5986d9f48d69b22589e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -urpN apache-ant-1.6.2.orig/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpToMessage.java apache-ant-1.6.2/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpToMessage.java
--- apache-ant-1.6.2.orig/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpToMessage.java 2005-02-03 21:37:32.032911472 +0100
+++ apache-ant-1.6.2/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpToMessage.java 2005-02-03 21:38:37.399974168 +0100
@@ -112,7 +112,7 @@ public class ScpToMessage extends Abstra
}
private void doMultipleTransfer() throws IOException, JSchException {
- Channel channel = openExecChannel("scp -d -t " + remotePath);
+ Channel channel = openExecChannel("scp -r -d -t " + remotePath);
try {
OutputStream out = channel.getOutputStream();
InputStream in = channel.getInputStream();
|