Subversion Repositories DevTools

Rev

Rev 4688 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#! /bin/bash
#   This script should be placed into /usr/local/bin as 'jats'
#   Its function is to use the local definition of GBE_DPKG to reference the
#   network vesrion of JATS
#
if [ -z $GBE_DPKG ] ; then
        echo "Error: EnvVar GBE_DPKG is not defined"
        exit 1
fi

if [ ! -d $GBE_DPKG ] ; then
        echo "Error: EnvVar GBE_DPKG does not reference a directory"
        exit 1
fi

if [ ! -f $GBE_DPKG/core_devl/jats2_current/TOOLS/jats.sh ] ; then
        echo "Error: JATS script not found"
        echo "       $GBE_DPKG/core_devl/jats2_current/TOOLS/jats.sh"
        exit 1
fi

exec $GBE_DPKG/core_devl/jats2_current/TOOLS/jats.sh "$@"