sunshaoce / rvcc-course

78 stars 24 forks source link

Update install-riscv.sh:13 '-uexo' -> '-uex -o' #7

Closed changliuxy closed 2 years ago

changliuxy commented 2 years ago

If write like '-uexo', we will see error,it may be '-uex -o'

sunshaoce commented 2 years ago

谢谢你的贡献!

daquexian commented 2 years ago

😂 为什么 -uexo pipefail 会报错,大家都是这样用的 https://www.google.com/search?q=euxo+pipefail ,这也是 linux 命令的常见用法,如 tar xvf xxxxtar -f xxxx -x -v 或者 tar -v -x -f xxxx 是等价的。

报错信息是什么呢,有没有排除环境问题

changliuxy commented 2 years ago

报错信息是set: Illegal option -o pipefail,不是环境原因,是因为前几次运行的时候是使用的sh install-riscv.sh命令,由于sh功能不是十分丰富,所以报错,换为bash install-riscv.sh就正常运行了