From f600af3605029eeffe0720e0c3d6aadcf2d7f044 Mon Sep 17 00:00:00 2001 From: Scott Fryer <60462088+steelhead31@users.noreply.github.com> Date: Mon, 7 Oct 2024 14:31:07 +0100 Subject: [PATCH] Update Signature URL, so no longer case sensitive. --- sbin/common/downloaders.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/common/downloaders.sh b/sbin/common/downloaders.sh index e1203e54d..3424b089f 100755 --- a/sbin/common/downloaders.sh +++ b/sbin/common/downloaders.sh @@ -49,7 +49,7 @@ function downloadLinuxBootJDK() { # the fallback mechanism, as downloading of the GA binary might fail. set +e curl -L -o bootjdk.tar.gz "${apiURL}" - apiSigURL=$(curl -v "${apiURL}" 2>&1 | tr -d \\r | awk '/^< Location:/{print $3 ".sig"}') + apiSigURL=$(curl -v "${apiURL}" 2>&1 | tr -d \\r | awk '/^< [Ll]ocation:/{print $3 ".sig"}') if ! grep "No releases match the request" bootjdk.tar.gz; then curl -L -o bootjdk.tar.gz.sig "${apiSigURL}" gpg --keyserver keyserver.ubuntu.com --recv-keys 3B04D753C9050D9A5D343F39843C48A565F8F04B