Update properties.sh: fix for real

This commit is contained in:
Lucy Phipps 2023-09-03 07:39:58 +01:00 committed by GitHub
parent cc2fe1b045
commit 26ed3c09cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ TERMUX_NDK_VERSION=$TERMUX_NDK_VERSION_NUM$TERMUX_NDK_REVISION
# : "${TERMUX_SCRIPTDIR:="$(realpath "$(dirname "$(readlink -f "$0")")/..")"}"
if [ -z "${TERMUX_SCRIPTDIR:-}" ]; then
echo 'Warning: TERMUX_SCRIPTDIR not set for properties.sh'
TERMUX_SCRIPTDIR="$(realpath "$(dirname "$(readlink -f "$0")")/..")"
TERMUX_SCRIPTDIR="$(realpath ../..)"
fi
: "${TERMUX_JAVA_HOME:=/usr/lib/jvm/java-8-openjdk-amd64}"