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

Carriage Return at build.sh #25

Closed
Kludex opened this issue Dec 24, 2017 · 3 comments
Closed

Carriage Return at build.sh #25

Kludex opened this issue Dec 24, 2017 · 3 comments

Comments

@Kludex
Copy link

Kludex commented Dec 24, 2017

The file build.sh has the character '\r'. It doesn't work on my Ubuntu 16.04.
I needed to use this command:
tr -d '\r' < infile > outfile

@theimowski
Copy link
Member

You sure? I think this should be handled by your git checkout config

@jacereda
Copy link

I faced the same problem on Mac right now.

@theimowski
Copy link
Member

Ok so it turns out, according to dotnet/templating#1248 that line endings are same as in original files going to template upon building. As I'm developing on Win, i had autocrlf set to true, so build.sh files ended in the template package with CRLF. This should be fixed in 0.4.1

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

3 participants