termux-tools: avoid busybox usage

This commit is contained in:
Leonid Pliushch 2020-03-30 15:15:59 +03:00
parent 846ed3a780
commit 6fb2bb2fbf

View File

@ -20,7 +20,7 @@ fi
if [ -f @TERMUX_PREFIX@/lib/libtermux-exec.so ]; then if [ -f @TERMUX_PREFIX@/lib/libtermux-exec.so ]; then
export LD_PRELOAD=@TERMUX_PREFIX@/lib/libtermux-exec.so export LD_PRELOAD=@TERMUX_PREFIX@/lib/libtermux-exec.so
$SHELL -c "busybox true" > /dev/null 2>&1 || unset LD_PRELOAD $SHELL -c "coreutils --coreutils-prog=true" > /dev/null 2>&1 || unset LD_PRELOAD
fi fi
if [ -n "$TERM" ]; then if [ -n "$TERM" ]; then