Subversion Repositories DevTools

Rev

Rev 4688 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4538 dpurdie 1
#! /bin/bash
2
#   This script should be placed into /usr/local/bin as 'jats'
3
#   Its function is to use the local definition of GBE_DPKG to reference the
4
#   network vesrion of JATS
5
#
6
if [ -z $GBE_DPKG ] ; then
7
        echo "Error: EnvVar GBE_DPKG is not defined"
8
        exit 1
9
fi
10
 
11
if [ ! -d $GBE_DPKG ] ; then
12
        echo "Error: EnvVar GBE_DPKG does not reference a directory"
13
        exit 1
14
fi
15
 
16
if [ ! -f $GBE_DPKG/core_devl/jats2_current/TOOLS/jats.sh ] ; then
17
        echo "Error: JATS script not found"
18
        echo "       $GBE_DPKG/core_devl/jats2_current/TOOLS/jats.sh"
19
        exit 1
20
fi
21
 
22
exec $GBE_DPKG/core_devl/jats2_current/TOOLS/jats.sh "$@"
23