[project @ 2001-08-22 15:27:08 by simonpj]
[ghc-hetmet.git] / glafp-utils / docbook / db2rtf.dir / db2rtf.sh
index dc90e49..9ed7e8f 100644 (file)
@@ -1,11 +1,6 @@
-if [ -z "$SGML_CATALOG_FILES"]
-then
-  if [ ! -f "$FPTOOLS_CATALOG_FILE" ]
-  then
-    echo "CATALOG file not set up; see installation guide for details."
-    exit 1
-  fi
-  SGML_CATALOG_FILES=$FPTOOLS_CATALOG_FILE
+if [ ! -f "$DOCBOOK_CATALOG" ] ; then
+  echo "CATALOG file not set up; see installation guide for details."
+  exit 1
 fi
 
 output=db2rtf.rtf
@@ -38,7 +33,7 @@ then
   fi
 fi
 
-cat $* | $JADE -t rtf -d ${DB_STYLESHEET}\#print -c $SGML_CATALOG_FILES
+cat $* | $JADE -t rtf -d ${DB_STYLESHEET}\#print -c $DOCBOOK_CATALOG
 
 if [ $# -eq 1 ]
 then