Skip to content
Snippets Groups Projects
Commit 0d2702fa authored by Florian Schmaus's avatar Florian Schmaus
Browse files

[check-license] Do not pass --max-args to xargs

xargs: warning: options --max-args and --replace/-I/-i are mutually exclusive, ignoring previous --max-args value
parent b8e2983f
No related branches found
No related tags found
1 merge request!203[check-license] Do not pass --max-args to xargs
......@@ -79,7 +79,7 @@ cd "${ROOTDIR}"
set +e
find . \( -path '*/\.*' -o -path './subprojects*' -o -path "./build*" -o -path "./test/3rd-party*" \) -prune -o \
-type f -regextype posix-extended -regex '.*\.(c|h|cpp|hpp)' -print0 |\
xargs --null --max-args=1 --max-procs="${MAX_PROCS}" -I {} \
xargs --null --max-procs="${MAX_PROCS}" -I {} \
bash -c 'check_license "$@"' _ "{}"
readonly CHECK_RETURN_VALUE="$?"
set -e
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment