From 5a16eb558d838a238648fc2d59e0024e29f887ee Mon Sep 17 00:00:00 2001 From: OPPEN321 Date: Fri, 7 Nov 2025 01:55:48 +0800 Subject: [PATCH] Update build.sh --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 8192d64..e21403e 100644 --- a/build.sh +++ b/build.sh @@ -613,7 +613,7 @@ compile_source_code() { echo -e " ${CYAN_COLOR}▶${RESET} 下载源: ${TOOLCHAIN_URL}" echo -e " ${CYAN_COLOR}▶${RESET} 目标文件: toolchain_musl_${toolchain_arch}_gcc-${gcc}.tar.zst" - if curl -L ${TOOLCHAIN_URL}/toolchain_musl_${toolchain_arch}_gcc-${gcc}.tar.zst -o toolchain.tar.zst $CURL_BAR; then + if curl -L ${TOOLCHAIN_URL}/toolchain_musl_${toolchain_arch}_gcc-${gcc}.tar.zst -o toolchain.tar.zst $CURL_BAR >/dev/null 2>&1; then echo -e " ${GREEN_COLOR}✓${RESET} 工具链下载成功" # 处理工具链