The reason for the error is the newline character. Just use the tool to process the script file
sudo apt install dos2unix
dos2unix build.sh
Read More:
- Solution to the error $’\ R’: command not found when executing shell script under Linux
- [solved] – bash: rabbitmq plugins: command not found or RA bbitmqctl:command not found
- Linux basic command execution error: the solution of command not found
- When executing shell script, $’r ‘: command not found appears
- Error BC: command not found when git bash runs shell script
- When NPM install, make: G + +: command not found will be prompted
- MacOS WGet ‘command not found’ solution
- [Solved] Mac Terminal error: command not found: telnet
- Vue cli service: command not found
- Error: Make: pdflakex: command not found
- Solution not found by JPS command
- Exception: jupyter command Jupiter notebook not found
- Command not found: ADB appears on Mac
- Mac command not found solution
- Shell script running error bash: JPS: command not found
- Ubuntu add apt repository command not found solution
- [screen recording] an error is reported in the screenrecord command: inaccessible or not found
- On the error report after the command of ADB shell error:device not A solution of found
- IntelliJ idea error: package not found or symbol not found
- [Mac OS] ASUS z97-k r2.0 + gtx960 + clover v2.4k r4098 install Sierra 10.12.5 problems and Solutions