#! /bin/csh
#
# Shell script to start Macaulay
#
# (last modified: 18 Dec 92)
#
# You need to modify this file to set "macdir" to be the directory
# containing the Macaulay distribution.  This directory will have
# subdirectories src, scripts, bin, and several others.
# One usual place to locate this directory is /usr/local/Macaulay
# (you will need a system administrator in order to do this)
# The purpose of this shell script is to set the environment
# variable "MacaulayPath" so that you may use the supplied scripts
# and help file.  You may add directories to "MacaulayPath" to access
# your own directories of scripts.
#

set macdir=/home/taka/MacaulayForD


#############################################################
# The rest of this file does not need to be changed
#############################################################
set scripts=$macdir/scripts/scripts
set bin=$macdir/bin

if ($?MacaulayPath) then
  set oldpath=$MacaulayPath
endif

if ($?oldpath) then
  setenv MacaulayPath .:${scripts}ms:${scripts}mj:${scripts}de:${bin}:${oldpath}
else
  setenv MacaulayPath .:${scripts}ms:${scripts}mj:${scripts}de:${bin}
endif

exec ${bin}/Macaulay.bin

