summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/db2rpm-info8
1 files changed, 8 insertions, 0 deletions
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