INNER CODE UNIT · Shell
OSARCH
VPSDance/vkit · autoBestTrace.sh:24
OSARCH=$(uname -m)
case "$OSNAME" in
Darwin)
case "$OSARCH" in
arm64) FILE="besttracemacarm" ;;
x86_64) FILE="besttracemac" ;;
*) echo "unsupported macOS arch: $OSARCH"; exit 1 ;;
esac
;;
Linux)
case "$OSARCH" in
x86_64|amd64) FILE="besttrace" ;;
i*86) FILE="besttrace32" ;;
arm64|aarch64)FILE="besttracearm" ;;
*) echo "unsupported Linux arch: $OSARCH"; exit 1 ;;
esac
;;
*)