Skip to content
Snippets Groups Projects

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

Merged Florian Schmaus requested to merge flow/emper:fix-check-license into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -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
Loading