From de4b69a86458fdc54d3e4eb5056a24d2eab5f42d Mon Sep 17 00:00:00 2001 From: hephaestus Date: Mon, 16 May 2022 20:52:51 -0400 Subject: [PATCH] adding redirect command --- bowlerstudio | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bowlerstudio b/bowlerstudio index e6f7c51..520e738 100644 --- a/bowlerstudio +++ b/bowlerstudio @@ -28,7 +28,7 @@ testget () { else echo Downloading from https://www.azul.com/downloads/zulu/zulufx/ echo downloading https://cdn.azul.com/zulu/bin/$JVERELEASE.tar.gz - curl https://cdn.azul.com/zulu/bin/$JVERELEASE.tar.gz -o $2$1.tar.gz + curl -L https://cdn.azul.com/zulu/bin/$JVERELEASE.tar.gz -o $2$1.tar.gz fi } @@ -38,7 +38,7 @@ if (! test -e $JVMDIR/$JVERELEASE.tar.gz) then unzipifiy $JVERELEASE $JVMDIR fi if (! test -e $AUTOUPDATE) then - curl https://github.com/CommonWealthRobotics/LatestFromGithubLaunch/releases/latest/download/LatestFromGithubLaunch.jar -o $AUTOUPDATE + curl -L https://github.com/CommonWealthRobotics/LatestFromGithubLaunch/releases/latest/download/LatestFromGithubLaunch.jar -o $AUTOUPDATE fi