1
0
Fork 0
mirror of https://github.com/mlocati/docker-php-extension-installer synced 2025-05-09 00:22:40 +00:00

Make the test script easy to use locally

This commit is contained in:
Fred Cox 2020-09-18 21:22:39 +03:00
parent f15031994b
commit efeada0806

View file

@ -157,6 +157,10 @@ getDockerImageName() {
# Outputs:
# the space-separated list of supported PHP versions
getAllPHPVersionsForExtensions() {
if test -n "${PHP_VERSION_TO_TEST:-}"; then
echo "$PHP_VERSION_TO_TEST"
return
fi
getAllPHPVersionsForExtensions_result=''
IFS=' '
for getAllPHPVersionsForExtensions_extension in $1; do