Skip to content
Commit 328d2d1d authored by Douglas RAILLARD's avatar Douglas RAILLARD Committed by Douglas Raillard
Browse files

install_base.sh: Improve JAVA_HOME detection

Make sure to pick paths matching */bin/java to avoid picking up other
paths containing the java version and ending with "java".

For example, the runners on GitHub actions seems to have this
path, which randomly gets selected:

/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64/sample/nio/file/java
parent 1132077a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment