From b4132b0cfe36fd82b1d1485998c16985ba71f1b6 Mon Sep 17 00:00:00 2001 From: John Starich Date: Mon, 16 Nov 2020 15:03:09 -0600 Subject: [PATCH] Fix substring match Signed-off-by: John Starich --- hack/configure-operator.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/configure-operator.sh b/hack/configure-operator.sh index d69c32c8..9909d977 100755 --- a/hack/configure-operator.sh +++ b/hack/configure-operator.sh @@ -93,7 +93,7 @@ json_grep_after() { local after=$1 local pattern=$2 while read -r line; do - if [[ "$line" == "$after" ]]; then + if [[ "$line" == *"$after"* ]]; then json_grep "$pattern" break fi