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

getdeps.sh CRLF issue #2

Open
AntoninKns opened this issue Feb 4, 2022 · 1 comment
Open

getdeps.sh CRLF issue #2

AntoninKns opened this issue Feb 4, 2022 · 1 comment

Comments

@AntoninKns
Copy link

Thanks @abelsiqueira for the very well done tutorial !

There seems to be a minor issue with the format of the getdeps.sh

When I initially ran it there was a CRLF problem with the line :

'wget https://github.com/jso-docs/jso-docs.github.io/archive/refs/heads/main.zip'

The link was interpreted as 'https://github.com/jso-docs/jso-docs.github.io/archive/refs/heads/main.zip%0D' due to a problem of compatbility for end of line between linux and windows.

Of course it is possible to launch the command by hand by writing the content of the file in a shell so it is not a big problem.
One way of fixing it for me was to use the 'dos2unix' command and then it worked perfectly.

Don't hesitate to let me know if you need more details on how I encoutered this error.

@abelsiqueira
Copy link
Member

Hi @AntoninKns, thanks for the report. Since it is a Windows issue, there is not much I can do to fix it because I don't use Windows. Have you used it from WSL? If you see a way of fixing it without breaking it for Linux I would be happy to receive a pull request.

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

No branches or pull requests

2 participants