setting .bat file's end of line by default as CRLF

This commit is contained in:
Leo Menzies-Ye 2025-03-11 19:22:58 +11:00
parent 11ca7033d5
commit 72c00b07a4
2 changed files with 3 additions and 1 deletions

2
.gitattributes vendored
View File

@ -20,3 +20,5 @@
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
*.bat text eol=crlf

View File

@ -128,7 +128,7 @@ echo gsdll64.dll copied successfully
REM #
REM # Do not add multi-lined conditional blocks after calling gsc-trapped. Keep the "if" line strictly single-lined.
REM # CMD gets tripped up for no particular good reason and complains about unexpected symbols.
REM # CMD gets tripped up for no particular good reason and complains about unexpected symbol "."
REM #
call "%~dp0third-party\chromium\src\out\Default\gsc-trapped.exe" --test-sandbox -sOutputFile="C:\output\outputtest.txt" "C:\input\inputtest.txt"
if %errorlevel% NEQ 0 goto builderror