Skip to content

Commit

Permalink
Fix BootJDK EA Download
Browse files Browse the repository at this point in the history
  • Loading branch information
steelhead31 authored Oct 18, 2024
1 parent f600af3 commit 32645de
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 32645de

Please sign in to comment.