find-xml-catalogues: Ensure XML_CATALOG_FILES is defined
This commit is contained in:
parent
2811b032d6
commit
7eecf4f8fb
|
@ -11,12 +11,12 @@ addXMLCatalogs () {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -z "$libxmlHookDone" ]; then
|
if [ -z "${libxmlHookDone-}" ]; then
|
||||||
libxmlHookDone=1
|
libxmlHookDone=1
|
||||||
|
|
||||||
# Set up XML_CATALOG_FILES. An empty initial value prevents
|
# Set up XML_CATALOG_FILES. An empty initial value prevents
|
||||||
# xmllint and xsltproc from looking in /etc/xml/catalog.
|
# xmllint and xsltproc from looking in /etc/xml/catalog.
|
||||||
export XML_CATALOG_FILES
|
export XML_CATALOG_FILES=''
|
||||||
if [ -z "$XML_CATALOG_FILES" ]; then XML_CATALOG_FILES=" "; fi
|
if [ -z "$XML_CATALOG_FILES" ]; then XML_CATALOG_FILES=" "; fi
|
||||||
addEnvHooks "$hostOffset" addXMLCatalogs
|
addEnvHooks "$hostOffset" addXMLCatalogs
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue