Skip to content

Commit 7e19e2e

Browse files
avargitster
authored andcommitted
doc lint: fix error-hiding regression
Fix the broken "make lint-docs" (or "make check-docs" at the top-level) target, which has been broken since my cafd982 (doc lint: lint and fix missing "GIT" end sections, 2021-04-09). The CI for "seen" is emitting an error about a broken gitlink, but due to there being 3x scripts chained via ";" instead of "&&" we're not carrying forward the non-zero exit code. Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ebf3c04 commit 7e19e2e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -483,9 +483,9 @@ lint-docs::
483483
$(HOWTO_TXT) $(DOC_DEP_TXT) \
484484
--section=1 $(MAN1_TXT) \
485485
--section=5 $(MAN5_TXT) \
486-
--section=7 $(MAN7_TXT); \
487-
$(PERL_PATH) lint-man-end-blurb.perl $(MAN_TXT); \
488-
$(PERL_PATH) lint-man-section-order.perl $(MAN_TXT);
486+
--section=7 $(MAN7_TXT) && \
487+
$(PERL_PATH) lint-man-end-blurb.perl $(MAN_TXT) && \
488+
$(PERL_PATH) lint-man-section-order.perl $(MAN_TXT)
489489

490490
ifeq ($(wildcard po/Makefile),po/Makefile)
491491
doc-l10n install-l10n::

0 commit comments

Comments
 (0)