Skip to content

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

Description

$ ./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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions