From 0f273c531f033c5759d30adcd0f673851b4dbb6d Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Wed, 16 Dec 2020 13:13:35 +0100 Subject: [PATCH] Fix bug in anyStringInList --- install-php-extensions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-php-extensions b/install-php-extensions index 1b5aa9e..8c363db 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -1869,8 +1869,8 @@ stringInList() { # 0 (true): at least one of the items in $1 is in $2 # 1 (false): otherwise anyStringInList() { - for anyStringInList in $1; do - if stringInList "$1" "$2"; then + for anyStringInList_item in $1; do + if stringInList "$anyStringInList_item" "$2"; then return 0 fi done