mirror of
https://github.com/RubyMetric/chsrc.git
synced 2024-11-22 12:05:40 +08:00
<fix>: fix bug, macOS m1 report $arch: arm64.
This commit is contained in:
parent
2ec4957d3c
commit
73b23fc18e
|
@ -67,7 +67,7 @@ install() {
|
|||
|
||||
case "$arch" in
|
||||
x86_64) arch="x64" ;;
|
||||
aarch64) arch="aarch64" ;;
|
||||
aarch64|arm64) arch="aarch64" ;;
|
||||
riscv64) arch="riscv64" ;;
|
||||
armv7*) arch="armv7" ;;
|
||||
*) error "不支持的架构: ${arch}" ;;
|
||||
|
|
Loading…
Reference in New Issue
Block a user