Fix ci-test-extensions sed

This commit is contained in:
Michele Locati 2020-10-18 20:48:31 +02:00
parent 83b22e786c
commit fbce2f2f7f
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B

View File

@ -245,7 +245,7 @@ testExtension() {
testExtensionsFromMessage_result=0 testExtensionsFromMessage_result=0
IFS=' ' IFS=' '
for testExtension_extension in $1; do for testExtension_extension in $1; do
testExtension_extension="$(printf '%s' "$testExtension_extension" | sed 's/\+/ /g')" testExtension_extension="$(printf '%s' "$testExtension_extension" | sed -E 's/\+/ /g')"
printf '### TESTING EXTENSION(S) %s ###\n' "$testExtension_extension" printf '### TESTING EXTENSION(S) %s ###\n' "$testExtension_extension"
for testExtension_phpVersion in $(getAllPHPVersionsForExtensions "$testExtension_extension"); do for testExtension_phpVersion in $(getAllPHPVersionsForExtensions "$testExtension_extension"); do
if ! testExtensionFor "$testExtension_extension" "$testExtension_phpVersion"; then if ! testExtensionFor "$testExtension_extension" "$testExtension_phpVersion"; then