Replaced C++ style comments by C style
[gromacs.git] / src / tools / g_potential
blobf5f34acdd65c4491d0583edc17e3e3a193dd95db
1 #!/bin/sh
2 # Select which mode of gmx-ana to use in this script
3 type=potential
4 # Create gmx-ana path from our name. Two cases:
5 # 1. $0 contains slash = a full or relative path
6 # 2. $0 without slash = gmx-ana must be in our path
7 case $0 in
8 */*) gmxana=${0%/*}/gmx-ana ;;
9 *) gmxana=gmx-ana ;;
10 esac
11 # Check that the file is there
12 if [ ! -x $gmxana ]; then
13 echo Cannot find executable $gmxana
14 exit
16 $gmxana -type $type $*