Skip to content

Commit

Permalink
Update Signature URL in EA BootJDK download, so Location field longer…
Browse files Browse the repository at this point in the history
… case sensitive (#4002)

* Update Signature URL, so no longer case sensitive.

* Fix BootJDK EA Download
  • Loading branch information
steelhead31 authored Oct 24, 2024
1 parent 8f79176 commit 63781da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbin/common/downloaders.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function downloadLinuxBootJDK() {
set +e
curl -L -o bootjdk.tar.gz "${apiURL}"
if ! grep "No releases match the request" bootjdk.tar.gz; then
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"}')
curl -L -o bootjdk.tar.gz.sig "${apiSigURL}"
gpg --keyserver keyserver.ubuntu.com --recv-keys 3B04D753C9050D9A5D343F39843C48A565F8F04B
echo -e "5\ny\n" | gpg --batch --command-fd 0 --expert --edit-key 3B04D753C9050D9A5D343F39843C48A565F8F04B trust;
Expand Down

0 comments on commit 63781da

Please sign in to comment.