From f2d4b7244736ca11d0e47ec929ae971d50bcba0f Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 14 Jun 2021 16:11:01 -0300 Subject: aux/workflow/assert-manpages.sh: Ignore manpages that are just .so --- aux/workflow/assert-manpages.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'aux/workflow/assert-manpages.sh') diff --git a/aux/workflow/assert-manpages.sh b/aux/workflow/assert-manpages.sh index fa97298..add7f47 100644 --- a/aux/workflow/assert-manpages.sh +++ b/aux/workflow/assert-manpages.sh @@ -52,6 +52,10 @@ EOF # shellcheck disable=2044 for f in $(find doc -type f -name '*.[0-9]'); do + LINES="$(wc -l "$f" | cut -d\ -f1)" + if [ "$LINES" = 1 ] && grep -Eq '^\.so man.+$' "$f"; then + continue + fi if ! tail -n "$(wc -l < "$EXPECTED")" "$f" | diff - "$EXPECTED"; then echo "Missing metadata at the end of \"$f\" file" if [ "$IN_PLACE" = true ]; then -- cgit v1.2.3