ignore shellcheck error SC2068
This commit is contained in:
parent
a1af001a55
commit
5ea028ef76
@ -53,7 +53,8 @@ modules=($modules)
|
||||
use_git=""
|
||||
urls="$(git config --file .gitmodules --get-regexp '\.url$' | cut -d' ' -f2)"
|
||||
urls=($urls)
|
||||
for i in "${!modules[@]}"; do
|
||||
# shellcheck disable=SC2068
|
||||
for i in ${!modules[@]}; do
|
||||
module=${modules[$i]}
|
||||
if [[ " $included " = *" $module "* ]]; then
|
||||
commit="$(git ls-tree HEAD $module | awk '{print $3}')"
|
||||
|
Loading…
Reference in New Issue
Block a user