scripts/properties.sh: load ~/.termuxrc at the end to allow override the configuration
This commit is contained in:
parent
e905587dff
commit
b554a9d2fc
|
@ -3,8 +3,6 @@ TERMUX_NDK_VERSION_NUM=21
|
|||
TERMUX_NDK_REVISION="d"
|
||||
TERMUX_NDK_VERSION=$TERMUX_NDK_VERSION_NUM$TERMUX_NDK_REVISION
|
||||
|
||||
test -f "$HOME/.termuxrc" && . "$HOME/.termuxrc"
|
||||
|
||||
if [ "${TERMUX_PACKAGES_OFFLINE-false}" = "true" ]; then
|
||||
export ANDROID_HOME=${TERMUX_SCRIPTDIR}/build-tools/android-sdk
|
||||
export NDK=${TERMUX_SCRIPTDIR}/build-tools/android-ndk
|
||||
|
@ -19,3 +17,6 @@ TERMUX_BASE_DIR="/data/data/${TERMUX_APP_PACKAGE}/files"
|
|||
TERMUX_CACHE_DIR="/data/data/${TERMUX_APP_PACKAGE}/cache"
|
||||
TERMUX_ANDROID_HOME="${TERMUX_BASE_DIR}/home"
|
||||
TERMUX_PREFIX="${TERMUX_BASE_DIR}/usr"
|
||||
|
||||
# Allow to override setup.
|
||||
test -f "$HOME/.termuxrc" && . "$HOME/.termuxrc"
|
||||
|
|
Loading…
Reference in New Issue