Cleaning up the environment to workaround issues on some systems
This commit is contained in:
parent
325544a810
commit
9116caab2c
|
@ -1,6 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
OSNAME=$(uname)
|
||||
unset LINK
|
||||
|
||||
. `dirname $0`/make-jobs.inc.sh
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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?"
|
||||
|
|
Loading…
Reference in New Issue