fix: ARCH_OVERWRITE null

This commit is contained in:
Zitao Xiong
2024-05-28 16:03:49 +08:00
parent 347673a8a1
commit 2c56c65fff

View File

@@ -43,7 +43,7 @@ os_name() {
# arm64, x86_64
arch_name() {
if [ -n "$ARCH_OVERWRITE:-" ]; then
if [ -n "${ARCH_OVERWRITE:-}" ]; then
echo "$ARCH_OVERWRITE"
else
case "$(uname -m)" in