From 0d2702fad67e5c98dee68d1a94d7d17f89db37e4 Mon Sep 17 00:00:00 2001 From: Florian Schmaus <flow@cs.fau.de> Date: Mon, 10 May 2021 13:46:05 +0200 Subject: [PATCH] [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 --- tools/check-license | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/check-license b/tools/check-license index d6e3ad12..c09b9bab 100755 --- a/tools/check-license +++ b/tools/check-license @@ -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 -- GitLab