~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added files via upload
[termux-packages]
/
packages
/
termux-tools
/
su
diff --git
a/packages/termux-tools/su
b/packages/termux-tools/su
index
bffa122
..
5b47429
100755
(executable)
--- a/
packages/termux-tools/su
+++ b/
packages/termux-tools/su
@@
-1,7
+1,8
@@
#!/bin/sh
if [ -x /system/xbin/su ]; then
#!/bin/sh
if [ -x /system/xbin/su ]; then
- /system/xbin/su $@
+ # The su tool may require programs from /system/bin in path:
+ PATH=/system/bin:$PATH /system/xbin/su $@
else
echo "There is no su program on this device. Termux"
echo "does not supply tools for rooting, see e.g."
else
echo "There is no su program on this device. Termux"
echo "does not supply tools for rooting, see e.g."