Jeffrey Adamson created GROOVY-11587:
----------------------------------------

             Summary: bin scripts in org.codehaus.groovy:groovy-binary contain 
incorrect line endings
                 Key: GROOVY-11587
                 URL: https://issues.apache.org/jira/browse/GROOVY-11587
             Project: Groovy
          Issue Type: Bug
    Affects Versions: 3.0.24
            Reporter: Jeffrey Adamson


After downloading and extracting the zip file for release 3.0.24 from maven 
org.codehaus.groovy:groovy-binary or from the project download page 
[https://groovy.apache.org/download.html,] the non-windows script files in 
groovy-3.0.24/bin intended for *nix platforms contain CRLF style line endings. 
This breaks the shebang (#!) line interpretation for direct execution.

This impacts the following files and their *_completion counterparts:
 * groovy-3.0.24/bin/grape
 * groovy-3.0.24/bin/groovy
 * groovy-3.0.24/bin/groovyc
 * groovy-3.0.24/bin/groovyConsole
 * groovy-3.0.24/bin/groovydoc
 * groovy-3.0.24/bin/groovysh
 * groovy-3.0.24/bin/java2groovy
 * groovy-3.0.24/bin/startGroovy

Releases 3.0.23 and earlier appear to have the LF format as expected.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to