Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Let make.bat have CRLF terminator
Browse files Browse the repository at this point in the history
  • Loading branch information
reivilibre committed Mar 14, 2023
1 parent f60a001 commit 736911e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts-dev/check_line_terminators.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
cd "$(dirname "$0")/.." || exit

# Find and print files with non-unix line terminators
if find . -path './.git/*' -prune -o -type f -print0 | xargs -0 grep -I -l $'\r$'; then
if find . -path './.git/*' -prune -o -path './dev-docs/make.bat' -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

0 comments on commit 736911e

Please sign in to comment.