File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,9 @@ if ! python3 -m doctest test/lint/lint-format-strings.py; then
33
33
fi
34
34
for S in " ${FUNCTION_NAMES_AND_NUMBER_OF_LEADING_ARGUMENTS[@]} " ; do
35
35
IFS=" ," read -r FUNCTION_NAME SKIP_ARGUMENTS <<< " ${S}"
36
- mapfile -t MATCHING_FILES < <( git grep --full-name -l " ${FUNCTION_NAME} " -- " *.c" " *.cpp" " *.h" | sort | grep -vE " ^src/(leveldb|secp256k1|tinyformat|univalue)" )
36
+ for MATCHING_FILE in $( git grep --full-name -l " ${FUNCTION_NAME} " -- " *.c" " *.cpp" " *.h" | sort | grep -vE " ^src/(leveldb|secp256k1|tinyformat|univalue)" ) ; do
37
+ MATCHING_FILES+=(" ${MATCHING_FILE} " )
38
+ done
37
39
if ! test/lint/lint-format-strings.py --skip-arguments " ${SKIP_ARGUMENTS} " " ${FUNCTION_NAME} " " ${MATCHING_FILES[@]} " ; then
38
40
EXIT_CODE=1
39
41
fi
You can’t perform that action at this time.
0 commit comments