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

Merge branch 'fix-check-license' into 'master'

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

See merge request !203
parents d1422b11 0d2702fa
No related branches found
No related tags found
1 merge request!203[check-license] Do not pass --max-args to xargs
Pipeline #62696 passed
...@@ -79,7 +79,7 @@ cd "${ROOTDIR}" ...@@ -79,7 +79,7 @@ cd "${ROOTDIR}"
set +e set +e
find . \( -path '*/\.*' -o -path './subprojects*' -o -path "./build*" -o -path "./test/3rd-party*" \) -prune -o \ 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 |\ -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 "$@"' _ "{}" bash -c 'check_license "$@"' _ "{}"
readonly CHECK_RETURN_VALUE="$?" readonly CHECK_RETURN_VALUE="$?"
set -e 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