Commit 5a58791e authored by Lückemeyer's avatar Lückemeyer
Browse files

corrected repo copy direction

parent bb5d5b0d
Pipeline #9081 passed with stage
......@@ -58,9 +58,8 @@ public class JGitUtil {
//if an optional directory parameter was given
if(subDir!="")
{
targetDirectory = new File(targetPath);
//copy appropriate path from checkout directory to target directory
FileSystemUtils.copyRecursively(targetDirectory, new File(checkoutDirectory+subDir));
FileSystemUtils.copyRecursively(new File(checkoutDirectory+subDir), new File(targetPath));
}
LOG.debug(String.format("cloned from %s to %s", config.group(1), targetDirectory));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment