Commit Graph

25 Commits

Author SHA1 Message Date
Scott McLeod
8baa3f7961 Fold retrieve-sapmachine into retrieval code, use globbing for cache 2020-04-26 19:39:09 -04:00
Scott McLeod
02ca1c820a Cleanup cache logic 2020-04-26 19:39:09 -04:00
Scott McLeod
1b6aaee2ea
Old MacOS versions do not support base64 -d 2020-04-14 15:20:00 -04:00
Scott McLeod
0ebf8c1cc0 Standardize on AdoptJDK v3 API 2020-04-14 10:47:02 -04:00
Nicklas Moberg
e5391ad10e JDK 14 2020-04-03 15:50:16 -04:00
Jochen Schalanda
e276af2aaa
Set exit trap only after TEMP_DIR has been set
Refs #63
Refs #64
2020-03-17 08:47:09 +01:00
Jochen Schalanda
b0dcb5ae05
Check that temporary directory exists before deleting
Before deleting the temporary directory (`$TEMP_DIR`) at the end of the script,
make sure that it exists so that we don't accidentally delete the user's home directory.

Fixes #63
2020-03-15 01:53:30 +01:00
Jochen Schalanda
573976b13b Migrate to AdoptOpenJDK API v3
The AdoptOpenJDK API v2 is deprecated and will eventually be shut down.
Additionally, it currently has problems providing data for OpenJDK 13.

Unfortunately the API response format changed slightly, so that the static data for Zulu Community and Amazon Corretto had to be updated, too.

https://api.adoptopenjdk.net/swagger-ui/
https://github.com/AdoptOpenJDK/openjdk-api-v3
2020-03-01 14:44:43 +01:00
Jochen Schalanda
2ed7eb06d6 Revert "Merge pull request #55 from halcyon/sm-fix-master"
This reverts commit a5f57e149e, reversing
changes made to f1b85bca66.
2020-03-01 13:45:45 +01:00
Scott Mcleod
35b4def8e8
Fix failing master 2020-02-29 10:21:47 -05:00
Jochen Schalanda
e067262abf
Fix shellcheck warnings 2020-02-27 16:15:07 +01:00
Jochen Schalanda
3d5b9bd28c
Fix content of "os" field in jq expression 2020-02-26 14:59:35 +01:00
Jochen Schalanda
e64c7e203f
Retrieve AdoptOpenJDK and SapMachine command in install function 2020-02-26 14:59:35 +01:00
Jochen Schalanda
12b79730e7
Add support for SapMachine
SapMachine is an OpenJDK release maintained and supported by SAP

https://sap.github.io/SapMachine/
2020-02-26 14:59:35 +01:00
Scott McLeod
a0fd84e721
Resolves #40 - don't change directory to ${PWD} on EXIT 2020-01-14 15:48:14 -05:00
Klaus Hartl
56f73d09e3 Add legacy filename support for jenv 2019-11-22 16:18:54 +01:00
Scott McLeod
00bb71562b
Use full path for MacOS binaries that conflict with coreutils 2019-11-20 14:38:58 -05:00
Flrn Prz
0320426738 Add check-jq function to properly show an error when jq is not installed 2019-09-30 16:21:34 +02:00
Michael McLellan
2e23f4a8f6 Use proper RELEASE variable name 2019-09-18 16:12:14 -04:00
Michael McLellan
4a85daa675 Add JDK 13 URL 2019-09-17 20:32:46 -04:00
Scott McLeod
67552c0e6f
Address #13 2019-09-12 16:40:16 -04:00
Scott McLeod
fb4dc4b2bf
Prefer variables over functions 2019-09-10 13:33:29 -04:00
Scott McLeod
63ca3b9081
Add jq to OSX 2019-09-09 18:59:10 -04:00
Scott McLeod
f3c7ba54cb
Use functions for improved bash compatability 2019-09-09 15:29:26 -04:00
Scott McLeod
2a22a1723e
New architecture 2019-09-09 14:30:31 -04:00