Remove cycle suppression
[gromacs.git] / scripts / GMXRC.cmakein
blob1ecf954885797f38d975eab5204677e8c9e72aeb
1 # This is a convenience script to determine which
2 # type of shell you have, and then run GMXRC.[csh|bash|zsh]
3 # from the Gromacs binary directory.
5 # If you only use one shell you can copy that GMXRC.* instead.
7 # only csh/tcsh set the variable $shell (note: lower case!)
8 # but check for the contents to be sure, since some environments may
9 # set it also for other shells
10 echo $shell | grep -q csh && goto CSH
12 # if we got here, shell is bsh/bash/zsh/ksh
13 . @CMAKE_INSTALL_PREFIX@/@BIN_INSTALL_DIR@/GMXRC.bash
14 return
16 # csh/tcsh jump here
17 CSH:
18 source @CMAKE_INSTALL_PREFIX@/@BIN_INSTALL_DIR@/GMXRC.csh