diff options
author | Tommy Reynolds <Tommy.Reynolds@MegaCoder.com> | 2006-02-05 00:23:49 +0000 |
---|---|---|
committer | Tommy Reynolds <Tommy.Reynolds@MegaCoder.com> | 2006-02-05 00:23:49 +0000 |
commit | 65e8475f19edff453eedd284d4a93fa5301c96be (patch) | |
tree | 0c3eb62518edd15a4b4c199d840e04bc28fccfac /bin | |
parent | 6a155a508d1be082338d52f201254961437ce84d (diff) | |
download | fedora-doc-utils-65e8475f19edff453eedd284d4a93fa5301c96be.tar.gz fedora-doc-utils-65e8475f19edff453eedd284d4a93fa5301c96be.tar.xz fedora-doc-utils-65e8475f19edff453eedd284d4a93fa5301c96be.zip |
Use primary language RPM-INFO stuff. Return the string "TBD" instead
of the more anonymous "XXX" if we can't figure out a revision.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/fdp-functions | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/fdp-functions b/bin/fdp-functions index a5d31e7..285fff4 100644 --- a/bin/fdp-functions +++ b/bin/fdp-functions @@ -18,8 +18,8 @@ esac 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 @@ version() 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 |