#!/bin/sh
# STk launcher

# determine the kind of the machine which is running this script
machine=`uname -s`-`uname -r | cut -d. -f1,2`-`uname -m`

STK_LIBRARY=/usr/local/lib/stk/2.1.6
export STK_LIBRARY

#
# Launch Snow rather than STk if the variable DISPLAY is not set.
#
if [ "$DISPLAY" = "" ] ;then
  exec $STK_LIBRARY/$machine/snow-bin  $*
else
  exec $STK_LIBRARY/$machine/stk-bin -name stk $*
fi



