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:
@@ -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
|
||||
Reference in New Issue
Block a user