Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

End-of-line for .sh script (especially in build/) #5053

Closed
vicuna opened this issue May 18, 2010 · 1 comment
Closed

End-of-line for .sh script (especially in build/) #5053

vicuna opened this issue May 18, 2010 · 1 comment
Assignees

Comments

@vicuna
Copy link

vicuna commented May 18, 2010

Original bug ID: 5053
Reporter: gildor
Assigned to: @damiendoligez
Status: closed (set by @damiendoligez on 2010-05-20T09:45:50Z)
Resolution: fixed
Priority: normal
Severity: minor
Fixed in version: 3.12.0+dev
Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues
Related to: #5050

Bug description

Shell scripts on Windows must be UNIX encoded. This means that the property svn:eol-style must be set to "LF".

For now, it is set to "native", which causes Windows SVN to checkout the SH files and replaces EOL by CRLF. The "/bin/sh" of cygwin is not able to execute the script when lines end with CRLF (Unknown command '\r' line 2).

Maybe, it should be a good idea to look for other shell scripts and set them the same property.

Sorry not to provide a patch, this change is unrepresentable.

Sylvain

@vicuna
Copy link
Author

vicuna commented May 20, 2010

Comment author: @damiendoligez

I think I've found all the scripts and changed their flags.
This is done in svn revision 10443.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants