This commit is contained in:
simono41 2018-02-09 23:54:04 +01:00
commit 23f05e2d76

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"