From 3e2a97c77256e4724c11e0cd3cb650cbd9d745dc Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 18 Dec 2023 12:37:04 -0800 Subject: Fix bug in validate-docx.sh. We only need look at xml files in word. --- tools/validate-docx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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 -- cgit v1.2.3