#!/bin/sh
# simdraw: calling script of SIMGRAPHICS II editor
#
#---------------
prog=`basename $0`
STANDARD_INSTALL=y
INST_SGR=$SIMHOME/simdraw/

#-- check if SIMHOME is used and defined
if [ "$STANDARD_INSTALL" = "y"  -a  "$SIMHOME" = "" ]; then
  echo "$prog ERROR: Env. var SIMHOME undefined. Cannot run. Aborted."
  exit 1
fi
#

sdraw -sim -l graphics.sg2 -S $INST_SGR -B $INST_SGR $*
