tsoding / ded

Dramatic EDitor
MIT License
579 stars 76 forks source link

build.sh using CRLF line terminators #70

Closed jayhawker6 closed 1 year ago

jayhawker6 commented 1 year ago

Shows it here: asciicast

The build.sh file didn't even show as executable beforehand because It wasn't the right file type, so I had to chmod +x build.sh. After fixing, out.sh worked without any changes. These issues are likely due to making the file with something that saved it to a DOS like format.

eloj commented 1 year ago

This is almost certainly something on your side. You can download the raw file from the repo and hexdump it to verify there are only 0x0a newlines in it.

BillKek commented 1 year ago

bui

0x0D is not found.

fabjan commented 1 year ago

@jayhawker6 look at your core.autocrlf config in git, perhaps you had to use it for some other reason earlier and set it globally? https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration

jayhawker6 commented 1 year ago

Think I fixed it. It seems to be a very bizarre WSL2 problem.