[gnumeric] xmllint: add --nonet in more places.



commit 0227b8f27aea57d2b17cc5651631746a0be9fda0
Author: Morten Welinder <terra gnome org>
Date:   Wed Apr 25 22:39:44 2018 -0400

    xmllint: add --nonet in more places.

 doc/Makefile.am       |    2 +-
 tools/test-xsd-schema |    2 +-
 tools/xmlunzip        |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 74f18dd..22e4732 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -546,7 +546,7 @@ C/functions.xml: $(srcdir)/make-func-list.pl $(functions_xml_parts)
         $(PERL) $(srcdir)/make-func-list.pl C/func.defs ;              \
         cat $(srcdir)/C/func-footer.xml                                \
        ) >functions.tmp ;                                              \
-       if xmllint -noent --format --encode "UTF-8" functions.tmp >functions.out ; then \
+       if xmllint -noent --nonet --format --encode "UTF-8" functions.tmp >functions.out ; then \
            mv functions.out $@; rm functions.tmp;                                      \
        fi
 
diff --git a/tools/test-xsd-schema b/tools/test-xsd-schema
index 9463910..e615942 100755
--- a/tools/test-xsd-schema
+++ b/tools/test-xsd-schema
@@ -1,4 +1,4 @@
 #!/bin/sh
 for f in $* ; do
-    xmllint -schema gnumeric.xsd "$f" > /dev/null
+    xmllint --nonet -schema gnumeric.xsd "$f" > /dev/null
 done
diff --git a/tools/xmlunzip b/tools/xmlunzip
index e2d6049..2b8bc88 100755
--- a/tools/xmlunzip
+++ b/tools/xmlunzip
@@ -35,7 +35,7 @@ files=`find . -name \*.xml -o -name \*.rels`
 tmpfile=".dumper-$$.xml"
 for f in $files ; do
     if [ -s "$f" ] ; then
-       xmllint --format "$f" > "$tmpfile"
+       xmllint --nonet --format "$f" > "$tmpfile"
        mv "$tmpfile" "$f"
     elif [ ! -f "$f" ] ; then
        echo "MISSING '$f'"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]