From 571f5e4472b13099f65b128fbf3afcb5a2fdce1c Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Tue, 9 May 2023 04:23:58 +0100 Subject: [PATCH] updated travis_foreach_repo.sh --- travis/travis_foreach_repo.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/travis/travis_foreach_repo.sh b/travis/travis_foreach_repo.sh index 299b4d91..e42ee7e4 100755 --- a/travis/travis_foreach_repo.sh +++ b/travis/travis_foreach_repo.sh @@ -61,7 +61,9 @@ while read -r repo; do cmd=("${cmd[@]//\{user\}/$user}") cmd=("${cmd[@]//\{repo\}/$repo}") cmd=("${cmd[@]//\{name\}/$name}") - "${cmd[@]}" + # need eval'ing to able to inline quoted script + # shellcheck disable=SC2294 + eval "${cmd[@]}" if [ -z "${NO_HEADING:-}" ]; then echo >&2 fi