Skip to content

Commit de4b69a

Browse files
author
hephaestus
committed
adding redirect command
1 parent 570d082 commit de4b69a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bowlerstudio

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ testget () {
2828
else
2929
echo Downloading from https://www.azul.com/downloads/zulu/zulufx/
3030
echo downloading https://cdn.azul.com/zulu/bin/$JVERELEASE.tar.gz
31-
curl https://cdn.azul.com/zulu/bin/$JVERELEASE.tar.gz -o $2$1.tar.gz
31+
curl -L https://cdn.azul.com/zulu/bin/$JVERELEASE.tar.gz -o $2$1.tar.gz
3232
fi
3333
}
3434

@@ -38,7 +38,7 @@ if (! test -e $JVMDIR/$JVERELEASE.tar.gz) then
3838
unzipifiy $JVERELEASE $JVMDIR
3939
fi
4040
if (! test -e $AUTOUPDATE) then
41-
curl https://github.com/CommonWealthRobotics/LatestFromGithubLaunch/releases/latest/download/LatestFromGithubLaunch.jar -o $AUTOUPDATE
41+
curl -L https://github.com/CommonWealthRobotics/LatestFromGithubLaunch/releases/latest/download/LatestFromGithubLaunch.jar -o $AUTOUPDATE
4242
fi
4343

4444

0 commit comments

Comments
 (0)