From 6fa120c617aa1ada6b9ac8add948af92ae7a7c90 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Fri, 30 Oct 2020 22:24:07 +0200 Subject: [PATCH] properties.sh: introduce $TERMUX_BASE_DIR --- scripts/properties.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/properties.sh b/scripts/properties.sh index eddcc5aa9..1b6e161af 100644 --- a/scripts/properties.sh +++ b/scripts/properties.sh @@ -15,6 +15,7 @@ fi # Termux packages configuration. TERMUX_APP_PACKAGE="com.termux" -TERMUX_PREFIX="/data/data/${TERMUX_APP_PACKAGE}/files/usr" -TERMUX_ANDROID_HOME="/data/data/${TERMUX_APP_PACKAGE}/files/home" +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"