fix: ARCH_OVERWRITE null fix

This commit is contained in:
Zitao Xiong
2024-05-28 16:02:53 +08:00
parent 4222b5661f
commit 347673a8a1

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