ArduPilot / ardupilot

ArduPlane, ArduCopter, ArduRover, ArduSub source
http://ardupilot.org/
GNU General Public License v3.0
11.08k stars 17.65k forks source link

bash Tools/environment_install/install-prereqs-ubuntu.sh -y completion error #22691

Open LouisRenWeiWei opened 1 year ago

LouisRenWeiWei commented 1 year ago
LouisRenWeiWei commented 1 year ago

in unbuntu need to modify \r\n to \r

sed -i 's/\r//' completion.bash sed -i 's/\r//' bash/_ap_autotest ed -i 's/\r//' bash/_ap_bin sed -i 's/\r//' bash/_sim_vehicle sed -i 's/\r//' bash/_waf

khancyr commented 1 year ago

hello, did you clone this on windows ?

maichongju commented 1 year ago

I clone the repository in Windows and then use it with WSL. Then this happens. I believe I just need to clone the project from the WSL