[
https://issues.apache.org/jira/browse/CB-9739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14943804#comment-14943804
]
ASF GitHub Bot commented on CB-9739:
------------------------------------
Github user daserge commented on a diff in the pull request:
https://github.com/apache/cordova-coho/pull/95#discussion_r41180911
--- Diff: src/create-verify-archive.js ---
@@ -76,6 +77,49 @@ exports.createCommand = function*(argv) {
var absOutDir = path.resolve(outDir);
yield repoutil.forEachRepo(repos, function*(repo) {
+ if(isWin) {
--- End diff --
@csantanapr, git does not seem to change eols to CRLF on OS X given that
`core.autocrlf=false` and/or `core.eol=crlf`. It probably could be changed by
[.gitattributes only (text
eol=crlf)](https://help.github.com/articles/dealing-with-line-endings/).
> Prevent coho from creating broken packages including CRLF on Windows
> --------------------------------------------------------------------
>
> Key: CB-9739
> URL: https://issues.apache.org/jira/browse/CB-9739
> Project: Apache Cordova
> Issue Type: Bug
> Components: Coho
> Environment: Windows
> Reporter: Sergey Shakhnazarov
> Assignee: Sergey Shakhnazarov
>
> {code}git config --get core.autocrlf{code} is *true* by default on Windows,
> which causes line endings to be converted to CRLF on clone so that further
> create-archive embeds CRLFs into all files including shell scripts -> this
> causes failures on Unix systems.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]