summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/ant-tasks/files/1.6.2-scp.patch')
-rw-r--r--dev-java/ant-tasks/files/1.6.2-scp.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-java/ant-tasks/files/1.6.2-scp.patch b/dev-java/ant-tasks/files/1.6.2-scp.patch
new file mode 100644
index 000000000000..37174f6114e9
--- /dev/null
+++ b/dev-java/ant-tasks/files/1.6.2-scp.patch
@@ -0,0 +1,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();