fix error

This commit is contained in:
saeziae 2022-07-31 00:08:35 +08:00
parent a73f05e388
commit ac7be6d3d1

View file

@ -2211,7 +2211,7 @@ get_cpu() {
;;
"riscv"*)
cpu="$(lscpu | awk -F': ' '/uarch/ {print $2; exit}' )"
cpu="$(awk -F': ' '/uarch/ {print $2; exit}' "$cpu_file")"
;;
*)