This commit is contained in:
simono41 2018-02-06 20:59:55 +01:00
parent fc506c1dd3
commit f46d8b0db8

View file

@ -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"