Replies: 1 comment 2 replies
-
Hi @mwcarlis
Possibly so.
I wonder how that happened.
Highly unlikely as this is my repo and I have never been a Windows user. I use geany for editing the scripts. I just checked the repo. All I am finding is LF in the scripts. This repo averages around 100 clones per day. I have not seen this reported before. You might think about doing a fresh test with a new clone. In case you are not aware of it, the Main Menu for this site is located at: https://github.com/morrownr/USB-WiFi There is a lot of info that might be of interest. Regards |
Beta Was this translation helpful? Give feedback.
-
I can't be the only person who runs into this can I? Was trying to build/install the module and all the bash scripts in the repo were failing for no apparent reason.... A couple of minute later I realized there is CRLF encoding in them? Is someone editing files in windows?
First thing I saw was the following when running install-driver.sh.
/bin/bash^M: bad interpreter: No such file or directory
Looks like this is what we get in the repo? note: 0x0d, 0x0a (this is not actually install-driver.sh, but it serves the example)
A few seds later. now: 0x0a 0x0a
After I made install-driver.sh use LF encoding I then hit something like this, but it turned out I also had to LF dkms.conf. After that things seem to work.
I have to say, this is a little bit of a trap because scripts call other scripts & its hard to tell exactly which file is complaining.. My best guess is that someone that files are edited in a linux VM, but in host windows filesystem?
5.15.0-78-generic #85~20.04.1-Ubuntu SMP Mon Jul 17 09:42:39 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Beta Was this translation helpful? Give feedback.
All reactions