]> prime8.dev >> repos - ttyd.git/commitdiff
scripts: download cross toolchain with https
authorShuanglei Tao <tsl0922@gmail.com>
Sat, 29 Aug 2020 05:25:39 +0000 (13:25 +0800)
committerShuanglei Tao <tsl0922@gmail.com>
Sat, 29 Aug 2020 05:25:39 +0000 (13:25 +0800)
scripts/cross-build.sh

index ff80c6cd6556a0088be49f11a3eaf7a84302a247..3bfa11bda3bc50316fbb042070616ed8378e461c 100755 (executable)
@@ -144,7 +144,7 @@ build() {
     echo "=== Installing toolchain ${ALIAS} (${TARGET})..."
 
     mkdir -p "${CROSS_ROOT}" && export PATH="${PATH}:/opt/cross/bin"
-    curl -sLo- "http://musl.cc/${TARGET}-cross.tgz" | tar xz -C "${CROSS_ROOT}" --strip-components 1
+    curl -sLo- "https://musl.cc/${TARGET}-cross.tgz" | tar xz -C "${CROSS_ROOT}" --strip-components 1
 
     echo "=== Building target ${ALIAS} (${TARGET})..."