fix
This commit is contained in:
parent
fc506c1dd3
commit
f46d8b0db8
1 changed files with 2 additions and 2 deletions
|
@ -2,8 +2,8 @@ set -ex
|
||||||
|
|
||||||
HOME=/storage/emulated/0
|
HOME=/storage/emulated/0
|
||||||
PREFIX=/data/data/com.termux/files/usr
|
PREFIX=/data/data/com.termux/files/usr
|
||||||
ROOT_HOME=$HOME/.suroot
|
ROOT_HOME=$HOME
|
||||||
ROOT_SHELL=$PREFIX/bin/bash
|
ROOT_SHELL=$PREFIX/bin/bash
|
||||||
mkdir -p $HOME/.suroot
|
#mkdir -p $HOME/.suroot
|
||||||
|
|
||||||
su --preserve-environment -c "LD_LIBRARY_PATH=$PREFIX/lib HOME=$ROOT_HOME $ROOT_SHELL"
|
su --preserve-environment -c "LD_LIBRARY_PATH=$PREFIX/lib HOME=$ROOT_HOME $ROOT_SHELL"
|
||||||
|
|
Loading…
Reference in a new issue