If you run into build issues on Windows in a freshly cloned repository (e.g.,
some common ones are "
./sign.pl: Command not found" and "
device"), it may be due to to Windows line endings (
\r\n). You can fix this
by forcing Unix style line endings (
\n). Start by running the following
commands in your repository:
git config core.eol lf git config core.autocrlf false
Next, you’ll need to delete and checkout all the files again so that you have the correct line endings. Do this:
git rm --cached -r . git reset --hard