From 316febbb28045b4ff1afc0f3b1a35da70a28bc7d Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Thu, 26 Aug 2021 09:14:04 +0200 Subject: [PATCH] Fix variable name in getAllPHPVersionsForExtension --- scripts/ci-test-extensions | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/ci-test-extensions b/scripts/ci-test-extensions index 5cd7199..ab63c78 100755 --- a/scripts/ci-test-extensions +++ b/scripts/ci-test-extensions @@ -248,11 +248,11 @@ getAllPHPVersionsForExtension() { done done <"$CI_BUILD_DIR/data/supported-extensions" - filterUnsupportedExensionsForDistro_reqs="$CI_BUILD_DIR/data/special-requirements" - if test -f "$filterUnsupportedExensionsForDistro_reqs"; then + getAllPHPVersionsForExtension_reqs="$CI_BUILD_DIR/data/special-requirements" + if test -f "$getAllPHPVersionsForExtension_reqs"; then getAllPHPVersionsForExtension_filtered_result='' for getAllPHPVersionsForExtension_result_filter in $getAllPHPVersionsForExtension_result; do - if stringInList "!$getAllPHPVersionsForExtension_result_filter-$IPETEST_DOCKER_DISTRO" "$(cat "$filterUnsupportedExensionsForDistro_reqs" | grep -E "^$1[ \t]")"; then + if stringInList "!$getAllPHPVersionsForExtension_result_filter-$IPETEST_DOCKER_DISTRO" "$(cat "$getAllPHPVersionsForExtension_reqs" | grep -E "^$1[ \t]")"; then printf 'Note: extension "%s" is not supported for distro "%s" using php "%s"\n' "$1" "$IPETEST_DOCKER_DISTRO" "$getAllPHPVersionsForExtension_result_filter" >/dev/stderr else getAllPHPVersionsForExtension_filtered_result="$getAllPHPVersionsForExtension_filtered_result $getAllPHPVersionsForExtension_result_filter"