aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-12-18 12:37:04 -0800
committerJohn MacFarlane <[email protected]>2023-12-18 12:38:34 -0800
commit3e2a97c77256e4724c11e0cd3cb650cbd9d745dc (patch)
treed22792f0f6e7761c1321c4c4b8fc1e88da047f58 /tools
parentded8132d3039b18c52456a5cf0dd1044c42d867c (diff)
Fix bug in validate-docx.sh.
We only need look at xml files in word.
Diffstat (limited to 'tools')
-rw-r--r--tools/validate-docx.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/validate-docx.sh b/tools/validate-docx.sh
index 09ed1a2f5..bf66f3b57 100644
--- a/tools/validate-docx.sh
+++ b/tools/validate-docx.sh
@@ -9,7 +9,7 @@ for file in "$@"; do
file_errors=0
echo "*** Checking $file"
rm -rf "$tmpdir"
- unzip -q -o -j "$file" -d "$tmpdir"
+ unzip -q -o -j "$file" "word/*.xml" "word/_rels/*.xml" -d "$tmpdir"
for i in "$tmpdir"/*.xml; do
xmllint --format "${i}" > "${i}.pretty.xml"
done