termux-tools: Search in /system/bin for su

Fixes #723.
This commit is contained in:
Fredrik Fornwall 2017-02-03 00:04:26 +01:00
parent c9d4e74fa1
commit 89956f70a1
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
TERMUX_PKG_HOMEPAGE=https://termux.com/
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux"
TERMUX_PKG_VERSION=0.35
TERMUX_PKG_VERSION=0.36
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
termux_step_make_install () {

View File

@ -2,7 +2,7 @@
unset LD_LIBRARY_PATH
for p in /system/xbin/su /su/bin/su /sbin/su /magisk/.core/bin/su
for p in /system/xbin/su /system/bin/su /su/bin/su /sbin/su /magisk/.core/bin/su
do
if [ -x $p ]; then
# The su tool may require programs in PATH: