Skip to content

Commit

Permalink
hotfix to download aarch32hf instead of sf on multiple returns in Azu…
Browse files Browse the repository at this point in the history
…l REST API (#877)

Signed-off-by: Markus Storm <[email protected]>
  • Loading branch information
mstormi authored May 9, 2020
1 parent 9f09846 commit f4c19a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions/java-jre.bash
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ fetch_zulu_tar_url(){

if [ "$1" == "32-bit" ]; then
if is_arm; then
downloadlink=$(curl "${link}&arch=arm&hw_bitness=32" -s -L -I -o /dev/null -w '%{url_effective}')
downloadlink=$(curl "${link}&arch=arm&hw_bitness=32" -s -L -I -o /dev/null -w '%{url_effective}' | sed -e 's#32sf#32hf#g')
else
downloadlink=$(curl "${link}&arch=x86&hw_bitness=32" -s -L -I -o /dev/null -w '%{url_effective}')
downloadlink=$(curl "${link}&arch=x86&hw_bitness=32" -s -L -I -o /dev/null -w '%{url_effective}' | sed -e 's#32sf#32hf#g')
fi

elif [ "$1" == "64-bit" ]; then
Expand Down

0 comments on commit f4c19a1

Please sign in to comment.