12345678910111213141516171819202122232425262728293031323334 |
- #!/bin/bash
- cd "$(dirname "$0")/.." || exit
- if find . -path './.git/*' -prune -o -type f -print0 | xargs -0 grep -I -l $'\r$'; then
- echo -e '\e[31mERROR: found files with CRLF line endings. See above.\e[39m'
- exit 1
- fi
|