From 54166797353bc015d2cf8ed7999b7480b6433324 Mon Sep 17 00:00:00 2001 From: Matthias Grob Date: Thu, 22 Apr 2021 15:06:02 +0200 Subject: [PATCH] check_code_style_all.sh: remove ignored xargs parameter to suppress the warning message: `xargs: warning: options --max-args and --replace/-I/-i are mutually exclusive, ignoring previous --max-args value` when running make format. --- Tools/astyle/check_code_style_all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/astyle/check_code_style_all.sh b/Tools/astyle/check_code_style_all.sh index 79c9d98bf7..5ace9ea52b 100755 --- a/Tools/astyle/check_code_style_all.sh +++ b/Tools/astyle/check_code_style_all.sh @@ -59,7 +59,7 @@ if [ ! -f $HOOK_FILE ] && [ "$CI" != "true" ]; then fi fi -${DIR}/files_to_check_code_style.sh | xargs -n 1 -P 8 -I % ${DIR}/check_code_style.sh % +${DIR}/files_to_check_code_style.sh | xargs -P 8 -I % ${DIR}/check_code_style.sh % if [ $? -eq 0 ]; then echo "Format checks passed"