termux-tools: Fix quoting in su (fixes #244)
This commit is contained in:
parent
a98feb2337
commit
4c29f84f59
@ -1,6 +1,6 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://termux.com/
|
||||
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux"
|
||||
TERMUX_PKG_VERSION=0.34
|
||||
TERMUX_PKG_VERSION=0.35
|
||||
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
|
||||
|
||||
termux_step_make_install () {
|
||||
|
@ -7,7 +7,7 @@ do
|
||||
if [ -x $p ]; then
|
||||
# The su tool may require programs in PATH:
|
||||
PATH=/sbin/su:/su/bin:/su/xbin:/system/bin:/system/xbin \
|
||||
exec $p $@
|
||||
exec $p "$@"
|
||||
fi
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user