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