Update build.sh

This commit is contained in:
2025-09-23 19:06:18 +08:00
committed by GitHub
parent b9d86e6ed9
commit cbdfa4569b

View File

@@ -154,7 +154,7 @@ compilation_script() {
print_success "检测到最新版本: $tag_version" print_success "检测到最新版本: $tag_version"
print_info "开始克隆源代码仓库..." print_info "开始克隆源代码仓库..."
git clone --depth=1 --quiet https://github.com/openwrt/openwrt -b "v$tag_version" git -c advice.detachedHead=false clone --depth=1 --quiet https://github.com/openwrt/openwrt -b "v$tag_version"
git clone --depth=1 --quiet -b openwrt-24.10 https://github.com/immortalwrt/immortalwrt git clone --depth=1 --quiet -b openwrt-24.10 https://github.com/immortalwrt/immortalwrt
git clone --depth=1 --quiet -b openwrt-24.10 https://github.com/openwrt/openwrt openwrt_snap git clone --depth=1 --quiet -b openwrt-24.10 https://github.com/openwrt/openwrt openwrt_snap