Update build.sh

This commit is contained in:
2025-11-07 01:55:48 +08:00
committed by GitHub
parent ed680dac62
commit 5a16eb558d

View File

@@ -613,7 +613,7 @@ compile_source_code() {
echo -e " ${CYAN_COLOR}${RESET} 下载源: ${TOOLCHAIN_URL}" echo -e " ${CYAN_COLOR}${RESET} 下载源: ${TOOLCHAIN_URL}"
echo -e " ${CYAN_COLOR}${RESET} 目标文件: toolchain_musl_${toolchain_arch}_gcc-${gcc}.tar.zst" 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} 工具链下载成功" echo -e " ${GREEN_COLOR}${RESET} 工具链下载成功"
# 处理工具链 # 处理工具链