Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-15 02:50:09 +01:00
[CI-SKIP] Always check PATH for JDK (#5315)
Dieser Commit ist enthalten in:
Ursprung
5b20df6bf0
Commit
be7cde2c76
@ -14,11 +14,8 @@ if [ -z "${1:-}" ]; then
|
|||||||
_is_dep_available mvn
|
_is_dep_available mvn
|
||||||
_is_dep_available curl
|
_is_dep_available curl
|
||||||
|
|
||||||
# Ensure we don't have a JAVA_HOME set first.
|
_is_dep_available javac "was not found; you can download the JDK from https://adoptopenjdk.net/ or via your package manager"
|
||||||
# Maven should work fine without the JAVA_HOME var as long as the JDK is on the PATH.
|
_is_dep_available jar "was not found; you can download the JDK from https://adoptopenjdk.net/ or via your package manager"
|
||||||
if [ -z "${JAVA_HOME:-}" ]; then
|
|
||||||
_is_dep_available javac "was not found; you can download the JDK from https://adoptopenjdk.net/ or via your package manager"
|
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
# Require all dependencies provided.
|
# Require all dependencies provided.
|
||||||
for dep in $@; do
|
for dep in $@; do
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren