Skip to content

Commit

Permalink
Modified openjdk/java script to operate on %HOME%, not direct path to…
Browse files Browse the repository at this point in the history
… user Home directory.

I have NO CLUE what is that file for. It looks like a remaining piece of... something, since it's totally out of context, runs java from a wrong directory and it's almost entirely commented out, but whatever. I'm going to update it, anyway.

Signed-off-by: Guzio <star.master.123.mg@gmail.com>
  • Loading branch information
GuzioMG committed Apr 8, 2020
1 parent c4c09f0 commit f117ac2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openjdk/java
Expand Up @@ -2,8 +2,8 @@
#export LD_LIBRARY_PATH=/data/data/per.pqy.apktool/apktool/lix
#in some targets,LD_PRELOAD will cause a error.
export LD_PRELOAD=
export LD_LIBRARY_PATH=/data/data/com.termux/files/home/java/openjdk/lib/arm:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$HOME/java/openjdk/lib/arm:$LD_LIBRARY_PATH
#umask 000
#cd /data/data/per.pqy.apktool/apktool
#echo $$ > pid
exec /data/data/com.termux/files/home/java/openjdk/bin/java -Xmx1024m "$@"
exec $HOME/java/openjdk/bin/java -Xmx1024m "$@"

0 comments on commit f117ac2

Please sign in to comment.