termux-tools: Fix quoting in su (fixes #244)

This commit is contained in:
Fredrik Fornwall 2017-01-25 11:50:20 +01:00
parent a98feb2337
commit 4c29f84f59
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.34
TERMUX_PKG_VERSION=0.35
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
termux_step_make_install () {

View File

@ -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