Browse Source

termux-tools: Unset LD_PRELOAD in dalvikvm

See https://github.com/termux/termux-packages/issues/1736
android-5
Fredrik Fornwall 7 years ago
parent
commit
c4600d33bc
  1. 2
      packages/termux-tools/build.sh
  2. 2
      packages/termux-tools/dalvikvm

2
packages/termux-tools/build.sh

@ -1,6 +1,6 @@
TERMUX_PKG_HOMEPAGE=https://termux.com/ TERMUX_PKG_HOMEPAGE=https://termux.com/
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux" TERMUX_PKG_DESCRIPTION="Basic system tools for Termux"
TERMUX_PKG_VERSION=0.47 TERMUX_PKG_VERSION=0.48
TERMUX_PKG_PLATFORM_INDEPENDENT=yes TERMUX_PKG_PLATFORM_INDEPENDENT=yes
TERMUX_PKG_CONFFILES="etc/motd" TERMUX_PKG_CONFFILES="etc/motd"

2
packages/termux-tools/dalvikvm

@ -4,5 +4,5 @@
export ANDROID_DATA=@TERMUX_PREFIX@/var/android/ export ANDROID_DATA=@TERMUX_PREFIX@/var/android/
mkdir -p $ANDROID_DATA/dalvik-cache mkdir -p $ANDROID_DATA/dalvik-cache
unset LD_LIBRARY_PATH unset LD_LIBRARY_PATH LD_PRELOAD
exec /system/bin/dalvikvm -Djava.io.tmpdir=@TERMUX_PREFIX@/tmp "$@" exec /system/bin/dalvikvm -Djava.io.tmpdir=@TERMUX_PREFIX@/tmp "$@"

Loading…
Cancel
Save