1if ( ! $?XML_CATALOG_FILES ) then 2 setenv XML_CATALOG_FILES "/docbook-sandbox/xsl/catalog.xml" 3# /docbook-sandbox/xsl/catalog.xml is not in XML_CATALOG_FILES, so add it 4else if ( "`echo $XML_CATALOG_FILES | grep -v /docbook-sandbox/xsl/catalog.xml`" != "" ) then 5 setenv XML_CATALOG_FILES "/docbook-sandbox/xsl/catalog.xml $XML_CATALOG_FILES" 6endif 7endif 8# /etc/xml/catalog exists but is not in XML_CATALOG_FILES, so add it 9if ( -f /etc/xml/catalog && "`echo $XML_CATALOG_FILES | grep -v /etc/xml/catalog`" != "" ) then 10 setenv XML_CATALOG_FILES "$XML_CATALOG_FILES /etc/xml/catalog" 11endif 12 13endif 14if ( ! $?SGML_CATALOG_FILES ) then 15 setenv SGML_CATALOG_FILES "/docbook-sandbox/xsl/catalog" 16else if ( "`echo $SGML_CATALOG_FILES | grep -v /docbook-sandbox/xsl/catalog`" != "" ) then 17 setenv SGML_CATALOG_FILES "/docbook-sandbox/xsl/catalog $SGML_CATALOG_FILES" 18endif 19endif 20# /etc/SGML/catalog exists but is not in SGML_CATALOG_FILES, so add it 21if ( -f /etc/sgml/catalog && "`echo $SGML_CATALOG_FILES | grep -v /etc/sgml/catalog`" != "" ) then 22 setenv SGML_CATALOG_FILES "$SGML_CATALOG_FILES /etc/sgml/catalog" 23endif 24 25 26if ( ! $?CLASSPATH ) then 27 setenv CLASSPATH "/home/mikes/.resolver" 28# /home/mikes/.resolver is not in CLASSPATH, so add it 29else if ( "`echo $CLASSPATH | grep -v /home/mikes/.resolver`" != "" ) then 30 setenv CLASSPATH "/home/mikes/.resolver:$CLASSPATH" 31endif 32endif 33