build: Fix nasm link, which has been moved to ftp2

This commit is contained in:
stevezhengshiqi 2024-03-06 19:11:45 -05:00
parent 3393c67b54
commit 2f3ed68fb4
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ fnDownloadNasm ()
local tarball="nasm-${NASM_VERSION}.tar.xz"
if [[ ! -f "$tarball" ]]; then
echo "Status: $tarball not found."
curl -f -o download.tmp --remote-name -k https://ftp.osuosl.org/pub/blfs/conglomeration/nasm/$tarball || exit 1
curl -k -f -o download.tmp --remote-name https://ftp2.osuosl.org/pub/blfs/conglomeration/nasm/$tarball || exit 1
mv download.tmp $tarball
fi
}