Skip to content

Commit 571f5e4

Browse files
committed
updated travis_foreach_repo.sh
1 parent 9e1fb91 commit 571f5e4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

travis/travis_foreach_repo.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ while read -r repo; do
6161
cmd=("${cmd[@]//\{user\}/$user}")
6262
cmd=("${cmd[@]//\{repo\}/$repo}")
6363
cmd=("${cmd[@]//\{name\}/$name}")
64-
"${cmd[@]}"
64+
# need eval'ing to able to inline quoted script
65+
# shellcheck disable=SC2294
66+
eval "${cmd[@]}"
6567
if [ -z "${NO_HEADING:-}" ]; then
6668
echo >&2
6769
fi

0 commit comments

Comments
 (0)