mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-26 18:21:04 +00:00
Replace uses of which(1) with command -v
This commit is contained in:
parent
4114e3047b
commit
ea1396f856
4 changed files with 8 additions and 8 deletions
2
android/gradlew
vendored
2
android/gradlew
vendored
|
@ -98,7 +98,7 @@ location of your Java installation."
|
|||
fi
|
||||
else
|
||||
JAVACMD="java"
|
||||
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
command -v java >/dev/null || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue