Cleaning up the environment to workaround issues on some systems

This commit is contained in:
pancake 2024-03-26 12:44:07 +01:00
parent 325544a810
commit 9116caab2c
3 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#!/bin/sh
OSNAME=$(uname)
unset LINK
. `dirname $0`/make-jobs.inc.sh

View File

@ -3,6 +3,8 @@
# find
cd "$(dirname $0)"/..
pwd
export PAGER=cat
unset LINK
if [ "${SHELL}" = "/data/data/com.termux/files/usr/bin/bash" ]; then
echo "Termux environment detected. Installing necessary packages"

View File

@ -2,6 +2,7 @@
cd "$(dirname $0)"/..
pwd
unset LINK
if [ -z "${PREFIX}" ]; then
echo "PREFIX env var not set, are you running this script from Termux?"