termux-tools: Work around for when termux-exec is broken
This commit is contained in:
parent
a15973a99d
commit
4c95eb0d93
@ -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"
|
||||
|
@ -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…
Reference in New Issue
Block a user