From 1ec6c042a899524b04ccd68f970843cacdee1cda Mon Sep 17 00:00:00 2001 From: its-pointless Date: Wed, 21 Feb 2018 10:08:15 +1100 Subject: [PATCH] termux-tools: Work around for when termux-exec is broken --- packages/termux-tools/build.sh | 2 +- packages/termux-tools/login | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/termux-tools/build.sh b/packages/termux-tools/build.sh index 71168bdae..704ff8306 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.52 +TERMUX_PKG_VERSION=0.53 TERMUX_PKG_PLATFORM_INDEPENDENT=yes TERMUX_PKG_ESSENTIAL=yes TERMUX_PKG_DEPENDS="termux-am" diff --git a/packages/termux-tools/login b/packages/termux-tools/login index 9da9aac73..6e64b51b5 100755 --- a/packages/termux-tools/login +++ b/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 "$@"