../runcmake: 行 2: $'\r': 未找到命令

 ../runcmake: 行 3: 未预期的符号 `$'{\r'' 附近有语法错误

  考虑到代码是从windows下一直过来的,脚本可能在格式上存在问题


    解决方案:

   

sudo apt-get install dos2unix

   dos2unix **.sh

相关文章:

  • 2021-08-16
  • 2022-12-23
  • 2022-12-23
  • 2021-06-11
  • 2022-02-16
  • 2021-05-19
  • 2021-04-22
猜你喜欢
  • 2021-09-12
  • 2022-12-23
  • 2022-12-23
  • 2021-08-01
  • 2021-09-02
  • 2022-12-23
相关资源
相似解决方案