mirror of
https://github.com/corda/corda.git
synced 2025-01-18 10:46:38 +00:00
Added comment to explain a line.
This commit is contained in:
parent
ddce92007e
commit
578344d610
@ -68,6 +68,7 @@ class Cordform extends DefaultTask {
|
||||
project.copy {
|
||||
from Cordformation.getPluginFile(project, "com/r3corda/plugins/runnodes")
|
||||
filter { String line -> line.replace("JAR_NAME", Node.JAR_NAME) }
|
||||
// Replaces end of line with lf to avoid issues with the bash interpreter and Windows style line endings.
|
||||
filter(org.apache.tools.ant.filters.FixCrLfFilter.class, eol: org.apache.tools.ant.filters.FixCrLfFilter.CrLf.newInstance("lf"))
|
||||
into "${directory}/"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user