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.
3 lines
36 B
Plaintext
3 lines
36 B
Plaintext
* text=auto eol=lf
|
|
*.sh text eol=lf
|