docs-common/bin fdp-functions,1.9,1.10
Tommy Reynolds (jtr)
fedora-docs-commits at redhat.com
Sun Feb 5 00:23:56 UTC 2006
Author: jtr
Update of /cvs/docs/docs-common/bin
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27248
Modified Files:
fdp-functions
Log Message:
Use primary language RPM-INFO stuff. Return the string "TBD" instead
of the more anonymous "XXX" if we can't figure out a revision.
Index: fdp-functions
===================================================================
RCS file: /cvs/docs/docs-common/bin/fdp-functions,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- fdp-functions 4 Feb 2006 04:14:45 -0000 1.9
+++ fdp-functions 5 Feb 2006 00:23:49 -0000 1.10
@@ -18,8 +18,8 @@
FDPBINDIR="${FDPDIR}/docs-common/bin"
FDPPKGDIR="${FDPDIR}/docs-common/packaging"
-# NOTE TO PAUL: This is not a happy solution to defining ${RPMINFO}
-#RPMINFO=${RPMINFO:-"${LANG}/rpm-info-${LANG}.xml"}
+PRI_LANG=${PRI_LANG:-"en"}
+RPMINFO=${RPMINFO:-"${PRI_LANG}/rpm-info-${PRI_LANG}.xml"}
XSLTPROC=${XSLTPROC:-xsltproc}
XMLFORMAT=${XMLFORMAT:-"${FDPBINDIR}/xmlformat"}
XMLFOPTS=${XMLFOPTS:-"-f ${FDPBINDIR}/xmlformat-fdp.conf"}
@@ -60,7 +60,7 @@
if [ -f "${RPMINFO}" ]; then
${XSLTPROC} ${OPTS} "${FDPPKGDIR}/doc-version.xsl" "$RPMINFO"
else
- echo -n XXX
+ echo -n TBD
fi
# The stylesheet doesn't put a NL at the end.
echo
More information about the Fedora-docs-commits
mailing list