From 10fe13ae0fb01e35e38039b00b3185f2af53bf83 Mon Sep 17 00:00:00 2001 From: Kron4ek Date: Sat, 27 Mar 2021 17:30:56 +0500 Subject: [PATCH] Add /usr/lib/jvm/default/bin to PATH --- squashfs-start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/squashfs-start.sh b/squashfs-start.sh index 4c656d1..b9d8276 100755 --- a/squashfs-start.sh +++ b/squashfs-start.sh @@ -24,7 +24,7 @@ working_dir=/tmp/"$(basename "$0")"_"$(id -un)"_$RANDOM # a problem with mounting the squashfs image due to an incorrectly calculated offset. # The size of this script -scriptsize=4076 +scriptsize=4101 # The size of the utils.tar archive # utils.tar contains bwrap and squashfuse binaries @@ -133,7 +133,7 @@ run_bwrap () { --proc /proc \ --ro-bind-try /usr/local /usr/local \ ${dirs} ${unshare} ${net} \ - --setenv PATH "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:${PATH}" \ + --setenv PATH "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:${PATH}" \ "$@" }