今天用make 编译 蹦到 

bash ‘/bin/sh: Syntax error: “(” unexpected

/bin/sh: [[: not found 这种莫名奇妙的错误

原因是是linux将sh指向了dash而不是bash

 

直接改配置

dpkg-reconfigure dash

选默认不是dash 

相关文章:

  • 2021-07-21
  • 2021-04-24
  • 2021-08-31
  • 2021-12-29
  • 2022-12-23
  • 2021-05-19
  • 2021-08-04
猜你喜欢
  • 2022-01-14
  • 2021-08-27
  • 2022-12-23
  • 2021-07-04
  • 2021-06-10
  • 2022-12-23
  • 2021-09-27
相关资源
相似解决方案