Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes bashism in the `args` test in `install.sh` that don't work with POSIX `sh`, or `bash` in `sh` mode. Since location of `sh` can vary by operating system the use of `/usr/bin/env` to find the installed `sh` is a safe cross-platform way of launching this script as described in the `README`. Modified the pre-installation check to test if the currently installed version is the same rather than just for the presence of the `atomvm_packbeam` directory so that upgrading to other versions will be possible with future releases. Signed-off-by: Winford <[email protected]>
- Loading branch information