Closed changliuxy closed 2 years ago
谢谢你的贡献!
😂 为什么 -uexo pipefail 会报错,大家都是这样用的 https://www.google.com/search?q=euxo+pipefail ,这也是 linux 命令的常见用法,如 tar xvf xxxx
和 tar -f xxxx -x -v
或者 tar -v -x -f xxxx
是等价的。
报错信息是什么呢,有没有排除环境问题
报错信息是set: Illegal option -o pipefail
,不是环境原因,是因为前几次运行的时候是使用的sh install-riscv.sh
命令,由于sh功能不是十分丰富,所以报错,换为bash install-riscv.sh
就正常运行了
If write like '-uexo', we will see error,it may be '-uex -o'