#!/bin/sh
#
# Run pgp-tools main program
#

if test "$1" = --debug
then
    CP=/usr/share/pgp-tools/conf/debug
    shift 1
else
    CP=/usr/share/pgp-tools/conf/default
fi

java --module-path /usr/share/pgp-tools/lib --add-modules org.apache.commons.cli -cp $CP -m org.clazzes.login.pgp/org.clazzes.login.pgp.Main "$@"

