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

im getting a line ending error on a unix command line, just a heads up #34

Open
brian-lamb-software-engineer opened this issue Dec 1, 2013 · 0 comments

Comments

@brian-lamb-software-engineer
$ ./initproject.sh
-bash: ./initproject.sh: /bin/sh^M: bad interpreter: No such file or directory

there is a setting in git that corrects this problem for developers on windows machines

$ git config --global core.autocrlf true

in the meantime dos2unix or vim :set fileformat=unix should work.

Edit:
Curious, how long might i have to wait for a fix? I'm trying to figure out which way to go with this package. i would like to use it as a dependency for a grunt based package, but at the moment i have a couple of "fix it" commands in front of the initproject.sh to clean that file from line endings. I would like to remove those lines once this file gets fixed so i can commit my package in the cleaner state.

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

1 participant