Template
1
0
mirror of https://github.com/bol-van/zapret2.git synced 2026-03-18 23:35:48 +00:00

build-linux update

This commit is contained in:
bol-van
2026-02-18 10:28:36 +03:00
parent 1b1c8ddb38
commit fce76e59aa
5 changed files with 185 additions and 63 deletions

View File

@@ -7,13 +7,16 @@ EXEDIR="$(cd "$EXEDIR"; pwd)"
BASEURL=https://github.com/bol-van/musl-cross/releases/download/latest
check_prog curl tar xz
[ -d "$TOOLCHAINS" ] || mkdir -p "$TOOLCHAINS"
ask_target 1
pushd "$TOOLCHAINS"
(
cd "$TOOLCHAINS"
for t in $TGT; do
[ -d "$t" ] && rm -r "$t"
curl -Lo - "${BASEURL}/${t}.tar.xz" | tar -Jx
done
popd
)