Skip to content

Commit

Permalink
More robust way to identify GROMACS source tree
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomofiorin committed Aug 20, 2023
1 parent 61432ae commit 584ffc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devel-tools/compile-gromacs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ compile_gromacs_target() {
fi

local GMX_SRC_DIR=""
if [ -f "${1}/src/gromacs/commandline.h" ] ; then
if [ -d "${1}/src/gromacs" ] ; then
GMX_SRC_DIR=$(realpath "${1}")
shift
else
Expand Down

0 comments on commit 584ffc9

Please sign in to comment.