Normalize line endings to LF
The script had been saved with CRLF terminators, which makes the kernel look for an interpreter named 'bash\r' and fails the script with 'bad interpreter: No such file or directory' when run on the server. Pin LF via .gitattributes so editors on the Windows side of /mnt/d cannot reintroduce it.
This commit is contained in:
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
* text=auto eol=lf
|
||||
*.sh text eol=lf
|
||||
Reference in New Issue
Block a user