From ea4b54e65f23dac24f74515380bee95a65489941 Mon Sep 17 00:00:00 2001 From: Tommy Reynolds Date: Fri, 6 Jan 2006 17:39:16 +0000 Subject: Shell script to extract or currently in an XML document and use it to generate a skeleton "rpm-info.xml" file. --- bin/db2rpm-info | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 bin/db2rpm-info (limited to 'bin') diff --git a/bin/db2rpm-info b/bin/db2rpm-info new file mode 100755 index 0000000..c27f9da --- /dev/null +++ b/bin/db2rpm-info @@ -0,0 +1,8 @@ +#!/bin/sh +BINDIR=`dirname $01` +if [ $# -ne 1 ]; then + echo "usage: `basename $0` docfile.xml" >&2 + exit 1 +fi +xsltproc ${BINDIR}/../packaging/info2rpminfo.xsl $1 | +${BINDIR}/xmlformat -f ${BINDIR}/xmlformat-fdp.conf -- cgit