【问题】/home/EDA_TOOLS/synopsys/verdi/verdi/Verdi_O-2018.09-SP2/bin/verdi: 56: /home/EDA_TOOLS/synopsys/verdi/verdi/Verdi_O-2018.09-SP2/bin/verdi: Syntax error: "(" unexpected
【解析】
代码对于标准bash而言没有错,因为Ubuntu/Debian为了加快开机速度,用dash代替了传统的bash,是dash在捣鬼,解决方法就是取消dash。
【解决】
sudo dpkg-reconfigure dash

选择no
由于Ubuntu/Debian系统使用dash而非bash作为默认shell,导致在运行/home/EDA_TOOLS/synopsys/verdi/verdi/Verdi_O-2018.09-SP2/bin/verdi时出现Syntaxerror。解决方法是通过sudodpkg-reconfiguredash将dash设置为非默认shell。

被折叠的 条评论
为什么被折叠?



