Browse Source

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.
release/1.12
Matthias Grob 4 years ago committed by Daniel Agar
parent
commit
5416679735
  1. 2
      Tools/astyle/check_code_style_all.sh

2
Tools/astyle/check_code_style_all.sh

@ -59,7 +59,7 @@ if [ ! -f $HOOK_FILE ] && [ "$CI" != "true" ]; then
fi fi
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 if [ $? -eq 0 ]; then
echo "Format checks passed" echo "Format checks passed"

Loading…
Cancel
Save