Browse Source

termux-tools: Work around for when termux-exec is broken

android-5
its-pointless 7 years ago
committed by Fredrik Fornwall
parent
commit
1ec6c042a8
  1. 2
      packages/termux-tools/build.sh
  2. 1
      packages/termux-tools/login

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.52
TERMUX_PKG_VERSION=0.53
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
TERMUX_PKG_ESSENTIAL=yes
TERMUX_PKG_DEPENDS="termux-am"

1
packages/termux-tools/login

@ -17,6 +17,7 @@ fi
if [ -f $PREFIX/lib/libtermux-exec.so ]; then
export LD_PRELOAD=$PREFIX/lib/libtermux-exec.so
$SHELL -c "busybox true" > /dev/null 2>&1 || unset LD_PRELOAD
fi
exec "$SHELL" -l "$@"

Loading…
Cancel
Save