From 6ec8db178631972829758702064a10ed707aa2d5 Mon Sep 17 00:00:00 2001 From: Fahad Zubair Date: Wed, 25 Sep 2024 01:51:29 -0400 Subject: [PATCH] Add -L to the curl command to download openssl-1.0.2 (#3846) The GitHub workflow for `exotic platform` downloads the `openssl.sh` script, which tries to download `https://www.openssl.org/source/openssl-1.0.2t.tar.gz`, but the file has been permanently moved. This PR updates the `curl` command to include the `-L` option. Co-authored-by: Fahad Zubair --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae76c51e33..7426f4f321 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -307,11 +307,11 @@ jobs: "OPENSSL_INCLUDE_DIR", ] [target.powerpc-unknown-linux-gnu] - pre-build = ["curl -L -s -o /tmp/openssl.sh https://github.com/cross-rs/cross/raw/c183ee37a9dc6b0e6b6a6ac9c918173137bad4ef/docker/openssl.sh && bash /tmp/openssl.sh linux-ppc powerpc-linux-gnu-"] + pre-build = ["curl -L -s https://github.com/cross-rs/cross/raw/c183ee37a9dc6b0e6b6a6ac9c918173137bad4ef/docker/openssl.sh | sed 's/curl https/curl -L https/' > /tmp/openssl.sh && bash /tmp/openssl.sh linux-ppc powerpc-linux-gnu-"] [target.powerpc-unknown-linux-gnu.env] passthrough = ["OPENSSL_DIR"] [target.powerpc64-unknown-linux-gnu] - pre-build = ["curl -L -s -o /tmp/openssl.sh https://github.com/cross-rs/cross/raw/c183ee37a9dc6b0e6b6a6ac9c918173137bad4ef/docker/openssl.sh && bash /tmp/openssl.sh linux-ppc64 powerpc64-linux-gnu-"] + pre-build = ["curl -L -s https://github.com/cross-rs/cross/raw/c183ee37a9dc6b0e6b6a6ac9c918173137bad4ef/docker/openssl.sh | sed 's/curl https/curl -L https/' > /tmp/openssl.sh && bash /tmp/openssl.sh linux-ppc64 powerpc64-linux-gnu-"] [target.powerpc64-unknown-linux-gnu.env] passthrough = ["OPENSSL_DIR"] EOF