forked from mirrors/nixpkgs
find-xml-catalogues: Ensure XML_CATALOG_FILES is defined
This commit is contained in:
parent
2811b032d6
commit
7eecf4f8fb
|
@ -11,12 +11,12 @@ addXMLCatalogs () {
|
|||
done
|
||||
}
|
||||
|
||||
if [ -z "$libxmlHookDone" ]; then
|
||||
if [ -z "${libxmlHookDone-}" ]; then
|
||||
libxmlHookDone=1
|
||||
|
||||
# Set up XML_CATALOG_FILES. An empty initial value prevents
|
||||
# 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
|
||||
addEnvHooks "$hostOffset" addXMLCatalogs
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue