From 73b503bf67dae2cc20854464ee269b836bafa20a Mon Sep 17 00:00:00 2001 From: kohsuke Date: Sun, 14 Jun 2009 17:35:54 +0000 Subject: [PATCH] C&P error git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18903 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/java/hudson/FilePath.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/hudson/FilePath.java b/core/src/main/java/hudson/FilePath.java index 7fce6ee7a0..b0dfc8fbe2 100644 --- a/core/src/main/java/hudson/FilePath.java +++ b/core/src/main/java/hudson/FilePath.java @@ -1213,7 +1213,7 @@ public final class FilePath implements Serializable { * @since 1.311 */ public void copyToWithPermission(FilePath target) throws IOException, InterruptedException { - copyToWithPermission(target); + copyTo(target); // copy file permission target.chmod(mode()); }