Thanks, I just used the following, which is in several of our scripts:
cd "$(dirname "$0")"
On Thu, Mar 2, 2023 at 2:34 AM 'Viktor Grigorov' via Programming
wrote:
>
> Minor quip: the shell script in the general linux zip 'bin/install-usr.sh'
> should include this line near the top
>
> cd "$(
I'd approach it this way:
set -e # exit on error
cd "$(dirname "$0")"
Hostile symbolic links in a user's install directory should only be a
problem on shared machines with irresponsible users. That said, I
suppose this could be an issue on a college campus, so perhaps the cd
line should be:
cd
I think that readlink is not guaranteed to be installed by default on linux
or other *nix.
On Thu, 2 Mar 2023 at 6:34 PM 'Viktor Grigorov' via Programming <
programm...@jsoftware.com> wrote:
> Minor quip: the shell script in the general linux zip 'bin/install-usr.sh'
> should include this line ne
Minor quip: the shell script in the general linux zip 'bin/install-usr.sh'
should include this line near the top
cd "$(dirname "$(readlink -f "$0")")" || exit;
or one to the same same, I'm not familiar with posix sh word splitting so I
overdo the quotes, hopefully not the opposite effect. This
j9.4.1 for android is available at
https://www.jsoftware.com/download/j9.4/install/
On Thu, Mar 2, 2023 at 1:49 AM Eric Iverson
wrote:
> j9.4.1 release is available!
>
> https://code.jsoftware.com/wiki/System/Installation/J9.4
>
> Zip installs are there now and AIO/Debian/apk will be there