scripts: pass -- before passing xargs

Also:
- GHA/checkdocs: escape `.` in -E regex expression.

Closes #19076
This commit is contained in:
Viktor Szakats 2025-10-15 19:45:48 +02:00
parent 3c0604bba4
commit c8aaa5d2f2
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
5 changed files with 6 additions and 5 deletions

View file

@ -77,4 +77,5 @@ cd "$(dirname "$0")"/..
--max-branches 12 \
--max-arguments 5 \
--max-localvars 15 \
--max-statements 50
--max-statements 50 \
--

View file

@ -57,5 +57,5 @@ sed -e 's/ *[CcGTPpu]*,[CcGTPpu]*,[CcGTPpu]* *$//' -e 's/\(.*\)/"\1"/' | \
sort | \
while read -r nickname; \
do echo "$nickname" | sed -e "s/Builtin Object Token://g"; \
echo "$nickname" | xargs -I{} certutil -d "$db" -L -a -n {} ; \
echo "$nickname" | xargs -I{} certutil -d "$db" -L -a -n -- {} ; \
done >> "$out"

View file

@ -48,4 +48,4 @@ echo "parallel: ${procs}"
# strip off the leading ./ to make the grep regexes work properly
find . -type f \( -name '*.pl' -o -name '*.pm' \) | sed 's@^\./@@'
fi
} | xargs -n 1 -P "${procs}" perl -c -Itests
} | xargs -n 1 -P "${procs}" perl -c -Itests --