From 72c00b07a450b2be34e574315a981d2d14bcdb8f Mon Sep 17 00:00:00 2001 From: Leo Menzies-Ye Date: Tue, 11 Mar 2025 19:22:58 +1100 Subject: [PATCH] setting .bat file's end of line by default as CRLF --- .gitattributes | 2 ++ build.bat | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 412eeda..e8fa5a3 100644 --- a/.gitattributes +++ b/.gitattributes @@ -20,3 +20,5 @@ *.PDF diff=astextplain *.rtf diff=astextplain *.RTF diff=astextplain + +*.bat text eol=crlf diff --git a/build.bat b/build.bat index b5881f3..06b2d70 100644 --- a/build.bat +++ b/build.bat @@ -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