aboutsummaryrefslogtreecommitdiff
path: root/aux/workflow
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-06-14 16:11:01 -0300
committerEuAndreh <eu@euandre.org>2021-06-14 16:11:01 -0300
commitf2d4b7244736ca11d0e47ec929ae971d50bcba0f (patch)
treedebdcbacf6487048d262060020dfc1bafd9ab609 /aux/workflow
parentdoc/remembering.*: Escape illegal characters in link to mailing list (diff)
downloadremembering-f2d4b7244736ca11d0e47ec929ae971d50bcba0f.tar.gz
remembering-f2d4b7244736ca11d0e47ec929ae971d50bcba0f.tar.xz
aux/workflow/assert-manpages.sh: Ignore manpages that are just .so
Diffstat (limited to '')
-rw-r--r--aux/workflow/assert-manpages.sh4
1 files changed, 4 insertions, 0 deletions
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