#!/bin/sh

JAVA=/usr/java/jdk1.6.0_03/bin/java
LIB=/opt/OpenPlatformTrustServices/lib
IBATIS=/opt/OpenPlatformTrustServices/database/ibatis

OPE="$JAVA -cp $LIB/openpts5.jar:$LIB/ibatis.jar:$LIB/log4j.jar:$LIB/postgresql-jdbc.jar:$LIB/commons-logging.jar:$IBATIS com.ibm.trl.tcg.pts.PlatformTrustServices"

## dbindex 0 (redhat)
$OPE oval --dbindex 0 --xmlfile http://people.redhat.com/mjc/oval/com.redhat.rhsa-2007.xml --distribution rhel5 --output /tmp

## dbindex 1 (centos)
$OPE oval --dbindex 1 --xmlfile http://people.redhat.com/mjc/oval/com.redhat.rhsa-2007.xml --distribution rhel5 --output /tmp



