ignore shellcheck error SC2068
This commit is contained in:
parent
a1af001a55
commit
5ea028ef76
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue