Merge branch release-4-6
[alexxy/gromacs.git] / scripts / GMXRC.cmakein
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.
4 #
5 # If you only use one shell you can copy that GMXRC.* instead.
6
7
8 # only csh/tcsh set the variable $shell (note: lower case!)
9 test $shell && goto CSH
10
11 # if we got here, shell is bsh/bash/zsh/ksh
12 . @BIN_INSTALL_DIR@/GMXRC.bash
13 return
14
15 # csh/tcsh jump here
16 CSH:
17 source @BIN_INSTALL_DIR@/GMXRC.csh
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35