[ISSUE-213]: FIX bin/install reads the wrong asdf variables when python3 is a shim
Merged
RU
5d ago+139+139+012345678901234567890123456789-24-24-01234567890123456789
Summary by cubic
Fixes bin/install reading the wrong asdf variables when python3 is a shim, which caused the plugin to resolve the wrong install version and path.
- Converts the
bin/installentrypoint from Python to Bash so it delegates tolib/install.pywithout relying on thepython3shim environment. - Renames the consumed variables to
ASDF_PHP_INSTALL_VERSIONandASDF_PHP_INSTALL_PATHso they no longer collide with asdf'sASDF_INSTALL_VERSIONandASDF_INSTALL_PATHwhenpython3is an asdf-managed shim. - Adds Bats tests that fake a
python3shim to verify the wrapper passes the PHP variables through and forwards arguments.