From 4c29f84f591ab8f050b403b90c76de597c6d30e1 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Wed, 25 Jan 2017 11:50:20 +0100 Subject: [PATCH] termux-tools: Fix quoting in su (fixes #244) --- packages/termux-tools/build.sh | 2 +- packages/termux-tools/su | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/termux-tools/build.sh b/packages/termux-tools/build.sh index ce49f30d3..9e482a301 100644 --- a/packages/termux-tools/build.sh +++ b/packages/termux-tools/build.sh @@ -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 () { diff --git a/packages/termux-tools/su b/packages/termux-tools/su index 8658fd41d..d38b6eb74 100755 --- a/packages/termux-tools/su +++ b/packages/termux-tools/su @@ -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