[project @ 2002-02-16 17:07:07 by panne]
authorpanne <unknown>
Sat, 16 Feb 2002 17:07:07 +0000 (17:07 +0000)
committerpanne <unknown>
Sat, 16 Feb 2002 17:07:07 +0000 (17:07 +0000)
Welcome to the amazing world of shell syntax! :-) The line

  CATALOG_OPTION=-c $DOCBOOK_CATALOG

sets the environment variable CATALOG_OPTION to "-c" and executes
$DOCBOOK_CATALOG, which is probably not what was intended. Double
quotes to the rescue!

glafp-utils/docbook/db2dvi.dir/db2dvi.sh

index e0c8288..ea1f065 100644 (file)
@@ -4,7 +4,7 @@ if [ ! -f "$DOCBOOK_CATALOG" ] && [ ! -f "$SGML_CATALOG_FILES" ] ; then
 fi
 
 if [ -f "$DOCBOOK_CATALOG" ] ; then
-  CATALOG_OPTION=-c $DOCBOOK_CATALOG
+  CATALOG_OPTION="-c $DOCBOOK_CATALOG"
 fi
 
 # Dave Mason's option to specify a different stylesheet