From: Bradley Sepos <bradley@bradleysepos.com>
Date: Sun, 22 Apr 2018 12:05:06 +0000 (-0400)
Subject: scripts: Update mac-toolchain-build NASM url.
X-Git-Tag: 1.2.0~504
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=02b8d1af9ec4641ab8e608c7b86b70e49e48cb90;p=handbrake

scripts: Update mac-toolchain-build NASM url.

Upstream switched to https recently, breaking the download script.
---

diff --git a/scripts/mac-toolchain-build b/scripts/mac-toolchain-build
index b4f7a3eda..139363686 100755
--- a/scripts/mac-toolchain-build
+++ b/scripts/mac-toolchain-build
@@ -66,7 +66,7 @@ printf "Downloading [%02i/%02i] %s" "5" "${TOTAL}" "pkg-config 0.29.2"
 curl https://pkg-config.freedesktop.org/releases/pkg-config-0.29.2.tar.gz -o "pkg-config-0.29.2.tar.gz" >/dev/null 2>&1 || print_fail_and_exit
 echo -en "${CREL}"
 printf "Downloading [%02i/%02i] %s" "6" "${TOTAL}" "nasm 2.13.02"
-curl http://www.nasm.us/pub/nasm/releasebuilds/2.13.02/nasm-2.13.02.tar.bz2 -o "nasm-2.13.02.tar.bz2" >/dev/null 2>&1 || print_fail_and_exit
+curl https://www.nasm.us/pub/nasm/releasebuilds/2.13.02/nasm-2.13.02.tar.bz2 -o "nasm-2.13.02.tar.bz2" >/dev/null 2>&1 || print_fail_and_exit
 echo -en "${CREL}"
 printf "Downloading [%02i/%02i] %s" "7" "${TOTAL}" "yasm 1.3.0"
 curl https://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz -o "yasm-1.3.0.tar.gz" >/dev/null 2>&1 || print_fail_and_exit