Re: [Jprogramming] j9.4.1 release is available

2023-03-02 Thread chris burke
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 "$(

Re: [Jprogramming] j9.4.1 release is available

2023-03-02 Thread Raul Miller
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

Re: [Jprogramming] j9.4.1 release is available

2023-03-02 Thread bill lam
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

Re: [Jprogramming] j9.4.1 release is available

2023-03-02 Thread 'Viktor Grigorov' via Programming
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

Re: [Jprogramming] j9.4.1 release is available

2023-03-01 Thread bill lam
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