#!/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 2 (knoppix)
$OPE maketm3deb --dbindex 2 --input tm3-data.txt --output knoppix.tm3 --dir /tmp

## dbindex 3 (ubuntu)
$OPE maketm3deb --dbindex 3 --input tm3-data.txt --output ubuntu.tm3 --dir /tmp


