mirror of
https://github.com/termux/termux-packages
synced 2024-06-15 21:26:37 +00:00
scripts/properties.sh: default TERMUX_SCRIPTDIR
This commit is contained in:
parent
87ff26215d
commit
8454b578d5
|
@ -18,6 +18,12 @@ TERMUX_NDK_VERSION=$TERMUX_NDK_VERSION_NUM$TERMUX_NDK_REVISION
|
|||
# and update SHA256 sums in scripts/setup-android-sdk.sh
|
||||
# check all packages build and run correctly and bump if needed
|
||||
|
||||
# : "${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")")/..")"
|
||||
fi
|
||||
|
||||
: "${TERMUX_JAVA_HOME:=/usr/lib/jvm/java-8-openjdk-amd64}"
|
||||
export JAVA_HOME=${TERMUX_JAVA_HOME}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user