lint: fix SC2004 shellcheck warning

This commit is contained in:
Xavier Delaruelle
2023-05-18 22:04:37 +02:00
parent fc1ef21548
commit fbab3d4ebb
2 changed files with 2 additions and 2 deletions

View File

@@ -102,7 +102,7 @@ case "$mode" in
for cmd in ${cmdlist}; do
unset IFS
eval "$cmd"
ret=$(($ret+$?))
ret=$((ret+$?))
IFS=';'
done
unset IFS

View File

@@ -108,7 +108,7 @@ array set file_lint_opts [list\
init/sh {-e SC2089,SC2090}\
init/bash_completion {-e SC2207}\
script/add.modules {-e SC2162}\
testsuite/bin/install_test_sh {-e SC1090,SC2004,SC3037,SC3044}\
testsuite/bin/install_test_sh {-e SC1090,SC3037,SC3044}\
]
proc set_linter_opts {fpath} {