Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5ea028e

Browse files
committedNov 6, 2020
ignore shellcheck error SC2068
1 parent a1af001 commit 5ea028e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/ci/init_repo.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ modules=($modules)
5353
use_git=""
5454
urls="$(git config --file .gitmodules --get-regexp '\.url$' | cut -d' ' -f2)"
5555
urls=($urls)
56-
for i in "${!modules[@]}"; do
56+
# shellcheck disable=SC2068
57+
for i in ${!modules[@]}; do
5758
module=${modules[$i]}
5859
if [[ " $included " = *" $module "* ]]; then
5960
commit="$(git ls-tree HEAD $module | awk '{print $3}')"

0 commit comments

Comments
 (0)
Please sign in to comment.