]> git.cameronkatri.com Git - mandoc.git/blobdiff - gmdiff
add arm64 architecture; from deraadt@
[mandoc.git] / gmdiff
diff --git a/gmdiff b/gmdiff
index ae27726ee5257a1d6d864fa3c291f869b4ed43b0..8d24fa76cad9d41fcf0b41da1b622c4a021ee8d4 100644 (file)
--- a/gmdiff
+++ b/gmdiff
@@ -40,7 +40,8 @@ while [ -n "$1" ]; do
   shift
   echo " ========== $file ========== "
   tbl $file | $EQN | $ROFF -mandoc 2> /tmp/roff.err > /tmp/roff.out
-  mandoc -Ios='OpenBSD ports' $MOPT $file 2> /tmp/mandoc.err > /tmp/mandoc.out
+  ${MANDOC:=mandoc} -Ios='OpenBSD ports' $MOPT $file \
+    2> /tmp/mandoc.err > /tmp/mandoc.out
   for i in roff mandoc; do
     [[ -s /tmp/$i.err ]] && echo "$i errors:" && cat /tmp/$i.err
   done