summaryrefslogtreecommitdiff
path: root/doc/sgml2txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/sgml2txt')
-rwxr-xr-xdoc/sgml2txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/sgml2txt b/doc/sgml2txt
index dfc017de..af0bcb49 100755
--- a/doc/sgml2txt
+++ b/doc/sgml2txt
@@ -34,7 +34,8 @@ $progs = {
"GROFFMACRO" => "-ms",
"AWK" => "/usr/share/linuxdoc-tools/awkwhich"
};
-$ENV{"SGML_CATALOG_FILES"} = "$DataDir/dtd/catalog";
+$ENV{"SGML_CATALOG_FILES"} = "$DataDir/dtd/catalog" .
+ (defined $ENV{SGML_CATALOG_FILES} ? ":$ENV{SGML_CATALOG_FILES}" : "");
require "$FindBin::Bin/LinuxDocTools.pm";
&LinuxDocTools::init;