#!/bin/sh
test `uname -s` = Linux && echocmd="echo -e" || echocmd="echo"
unset COBPATH
unset COBDATA
unset COBSW
COBDIR=`pwd`
export COBDIR
if test -f ./lmfinstall
then
	$echocmd "You cannot run License Administration from this location." 
	$echocmd "It may only be run from the location of an installed license system."
	$echocmd "If you do not have an installed license systtem, then you can install"
	$echocmd "one now, by issuing the command 'lmfinstall' from this location." 
	exit 1
fi
LD_LIBRARY_PATH=$COBDIR/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
./mflm_admin
