#!/bin/bash # Set the name of the .ini file, using emc.ini as default. Change this to # your .ini file, if you don't use emc.ini. INIFILE=siemens.ini # Everything past this point is automatic. You need not change anything here # unless you want to customize things that can't be done in the .ini file, # like running additional programs. #------------------------------------------------------------------------------ # change to the directory containing this script # FIXME the following doesn't work on suns or when $0 is an alias or symbolic link. # cd $0/.. # Add /usr/bin to the path just incase which isn't on the path or built in to # the shell. path=$path:/usr/bin prog=`which $0 | grep $0` tail=`echo $prog | sed s#\^.\*/##` dir=`echo $prog | sed s/$tail//` export PURE_SIMULATION=1 export RTPLAT=rtlinux_3_0 cd $dir ./generic.run -ini $INIFILE