diff options
author | Martin Kletzander <mkletzan@redhat.com> | 2022-03-03 13:14:18 +0100 |
---|---|---|
committer | Martin Kletzander <mkletzan@redhat.com> | 2022-03-07 10:31:21 +0100 |
commit | 00babda45eec2e2ea4274578b4b2f48c48e6eaa7 (patch) | |
tree | baae2d8ff5d69a5ea347546656efb52e8a94f946 /build-aux | |
parent | 86c691e6dedc1cfb487eb1e1651c0600cc567ea9 (diff) | |
download | libvirt-00babda45eec2e2ea4274578b4b2f48c48e6eaa7.tar.gz |
syntax-check: Rework mock-noinline to get all files at once
The script can break if the number of files does not fit one invocation and
xargs has to split it. Instead pipe the list of files directly into the script
and in the script read them from stdin instead of the arguments.
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Diffstat (limited to 'build-aux')
-rw-r--r-- | build-aux/syntax-check.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk index 9407581d0e..a8c9153b20 100644 --- a/build-aux/syntax-check.mk +++ b/build-aux/syntax-check.mk @@ -1549,7 +1549,7 @@ sc_spacing-check: { echo '$(ME): incorrect formatting' 1>&2; exit 1; } sc_mock-noinline: - $(AM_V_GEN)$(VC_LIST_EXCEPT) | $(GREP) '\.[ch]$$' | $(RUNUTF8) xargs \ + $(AM_V_GEN)$(VC_LIST_EXCEPT) | $(GREP) '\.[ch]$$' | $(RUNUTF8) \ $(PYTHON) $(top_srcdir)/scripts/mock-noinline.py sc_header-ifdef: |