chore: enforce LF for shell/systemd deploy scripts via .gitattributes
This commit is contained in:
parent
2ffa74b639
commit
fd279a378d
1 changed files with 6 additions and 0 deletions
6
.gitattributes
vendored
Normal file
6
.gitattributes
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
# Shell scripts and the systemd env file run on Linux (the Pi). Force LF so a
|
||||||
|
# CRLF checkout on Windows never ships back a script that fails with
|
||||||
|
# "bad interpreter: /usr/bin/env bash^M" or a systemd env file with trailing \r.
|
||||||
|
*.sh text eol=lf
|
||||||
|
*.service text eol=lf
|
||||||
|
move-detect-edge.env.example text eol=lf
|
||||||
Loading…
Reference in a new issue