chore: pin shell scripts to LF via .gitattributes

deploy.sh and the other scripts run on the Linux deploy host and in
Docker. A CRLF checkout breaks them with "bad interpreter: bash\r".
The committed blobs are already LF, but nothing guaranteed it against a
host with core.autocrlf=true. `*.sh text eol=lf` makes it explicit.

Verified: git ls-files --eol shows attr/text eol=lf on all .sh files;
renormalize produced no index churn (already LF).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
cesnimda
2026-07-19 23:14:27 +02:00
parent fba858e8eb
commit b705cbaf60
3 changed files with 86 additions and 6 deletions
+4
View File
@@ -0,0 +1,4 @@
# Shell scripts must be LF: they run on the Linux deploy host and in Docker.
# A CRLF deploy.sh fails with "bad interpreter: /usr/bin/env bash\r" or silently
# mis-parses. This guarantees LF in every checkout regardless of core.autocrlf.
*.sh text eol=lf