Browse Source

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

android-5
Fredrik Fornwall 8 years ago
parent
commit
4c29f84f59
  1. 2
      packages/termux-tools/build.sh
  2. 2
      packages/termux-tools/su

2
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 () {

2
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

Loading…
Cancel
Save