From 2edc9977a5e37cb7a963575b4c97a2baac82d9b4 Mon Sep 17 00:00:00 2001 From: Frank Date: Fri, 6 Nov 2026 12:14:17 +0100 Subject: [PATCH] fix: enforce LF line endings for shell scripts The repository has no .gitattributes, so cloning on Windows with the default core.autocrlf=true checks the .sh scripts out with CRLF, which breaks execution on Linux. Pin them to LF. Closes #73 --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..80e4f25 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +# Shell scripts must use LF line endings so they execute on Linux regardless +# of the contributor's core.autocrlf setting (Windows checkouts otherwise +# produce CRLF and fail with "bad interpreter" errors). +*.sh text eol=lf