From 2c56c65fff180dacfb9cfdaf732a25e7007e311c Mon Sep 17 00:00:00 2001 From: Zitao Xiong Date: Tue, 28 May 2024 16:03:49 +0800 Subject: [PATCH] fix: ARCH_OVERWRITE null --- lib/utils.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.bash b/lib/utils.bash index 9258a1a..8409164 100644 --- a/lib/utils.bash +++ b/lib/utils.bash @@ -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