mirror of
https://github.com/termux/proot.git
synced 2024-09-22 08:31:06 +00:00
8 lines
300 B
Bash
8 lines
300 B
Bash
if [ -z `which true` ] || [ -z `which realpath` ] || [ -z `which grep` ] || [ -z `which env` ] || [ ! -x ${ROOTFS}/bin/puts_proc_self_exe ]; then
|
|
exit 125;
|
|
fi
|
|
|
|
TRUE=$(realpath $(which true))
|
|
|
|
env PROOT_FORCE_FOREIGN_BINARY=1 ${PROOT} -q ${ROOTFS}/bin/puts_proc_self_exe ${TRUE} | grep ^${TRUE}$
|