Skip to content

Commit bce7902

Browse files
committed
Add command to check termux environment
1 parent 382b647 commit bce7902

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

plugins/envsetup

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,11 @@ banner
543543

544544
export BUILD_PALTFORM="linux"
545545

546+
#Check if environment is Termux
547+
if [ "$(uname -o)" = "Android" ]; then
548+
export FS_COOK_PLATFORM="termux"
549+
fi
550+
546551
if [ "$FS_COOK_PLATFORM" == "termux" ]; then
547552
lshout "Running on termux"
548553
BUILD_PALTFORM="termux"

0 commit comments

Comments
 (0)