use specific mirror

This commit is contained in:
Bence Pőcze 2022-02-21 08:28:23 +01:00
parent 670fc3a7b9
commit 0e73ecb514
Signed by: bence
GPG Key ID: 0520C81918569406

View File

@ -16,7 +16,7 @@ if [ "${XZ_PACKAGE_VERSION}" != "${XZ_PACKAGE_INSTALLED_VERSION}" ]; then
rm -rf ${XZ_DIR} rm -rf ${XZ_DIR}
mkdir ${XZ_DIR} mkdir ${XZ_DIR}
(cd mingw-w64-x86_64-xz && \ (cd mingw-w64-x86_64-xz && \
wget -qO- https://mirror.msys2.org/mingw/mingw64/${XZ_PACKAGE_VERSION} | \ wget -qO- https://ftp.nluug.nl/pub/os/windows/msys2/builds/mingw/mingw64/mingw-w64-x86_64-xz-5.2.5-2-any.pkg.tar.zst | \
unzstd - | \ unzstd - | \
tar -xf -) tar -xf -)
echo ${XZ_PACKAGE_VERSION} > ${XZ_PACKAGE_VERSION_FILE} echo ${XZ_PACKAGE_VERSION} > ${XZ_PACKAGE_VERSION_FILE}